

<!DOCTYPE html>
<!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
<head>
  <meta charset="utf-8">
  
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  
  <title>Base object (lv_obj) &mdash; LittlevGL 6.1.2 documentation</title>
  

  
  
    <link rel="shortcut icon" href="../_static/favicon.ico"/>
  
  
  

  
  <script type="text/javascript" src="../_static/js/modernizr.min.js"></script>
  
    
      <script type="text/javascript" id="documentation_options" data-url_root="../" src="../_static/documentation_options.js"></script>
        <script src="../_static/jquery.js"></script>
        <script src="../_static/underscore.js"></script>
        <script src="../_static/doctools.js"></script>
        <script src="../_static/language_data.js"></script>
    
    <script type="text/javascript" src="../_static/js/theme.js"></script>

    

  
  <link rel="stylesheet" href="../_static/css/theme.css" type="text/css" />
  <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
  <link rel="stylesheet" href="../_static/css/custom.css" type="text/css" />
  <link rel="stylesheet" href="../_static/css/fontawesome.min.css" type="text/css" />
    <link rel="index" title="Index" href="../genindex.html" />
    <link rel="search" title="Search" href="../search.html" />
    <link rel="next" title="Arc (lv_arc)" href="arc.html" />
    <link rel="prev" title="Object types (Widgets)" href="index.html" />
 
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-78811084-3"></script>
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());

  gtag('config', 'UA-78811084-3');
</script>

</head>

<body class="wy-body-for-nav">

   
  <div class="wy-grid-for-nav">
    
    <nav data-toggle="wy-nav-shift" class="wy-nav-side">
      <div class="wy-side-scroll">
        <div class="wy-side-nav-search" >
          

          
            <a href="../index.html">
          

          
            
            <img src="../_static/white_white_lvgl_full_logo.svg" class="logo" alt="Logo"/>
          
          </a>

          
            
            
              <div class="version">
                6.1.2
              </div>
            
          

          
<div role="search">
  <form id="rtd-search-form" class="wy-form" action="../search.html" method="get">
    <input type="text" name="q" placeholder="Search docs" />
    <input type="hidden" name="check_keywords" value="yes" />
    <input type="hidden" name="area" value="default" />
  </form>
</div>

          
        </div>

        <div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
          
            
            
              
            
            
              <ul class="current">
<li class="toctree-l1"><a class="reference internal" href="../get-started/index.html">Get started</a><ul>
<li class="toctree-l2"><a class="reference internal" href="../get-started/live-demo.html">Live demos</a></li>
<li class="toctree-l2"><a class="reference internal" href="../get-started/pc-simulator.html">Simulator on PC</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../get-started/pc-simulator.html#select-an-ide">Select an IDE</a></li>
<li class="toctree-l3"><a class="reference internal" href="../get-started/pc-simulator.html#set-up-eclipse-cdt">Set-up Eclipse CDT</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../get-started/pc-simulator.html#install-eclipse-cdt">Install Eclipse CDT</a></li>
<li class="toctree-l4"><a class="reference internal" href="../get-started/pc-simulator.html#install-sdl-2">Install SDL 2</a></li>
<li class="toctree-l4"><a class="reference internal" href="../get-started/pc-simulator.html#pre-configured-project">Pre-configured project</a></li>
<li class="toctree-l4"><a class="reference internal" href="../get-started/pc-simulator.html#add-the-pre-configured-project-to-eclipse-cdt">Add the pre-configured project to Eclipse CDT</a></li>
<li class="toctree-l4"><a class="reference internal" href="../get-started/pc-simulator.html#compile-and-run">Compile and Run</a></li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../get-started/quick-overview.html">Quick overview</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../get-started/quick-overview.html#add-littlevgl-into-your-project">Add LittlevGL into your project</a></li>
<li class="toctree-l3"><a class="reference internal" href="../get-started/quick-overview.html#learn-the-basics">Learn the basics</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../get-started/quick-overview.html#objects-widgets">Objects (Widgets)</a></li>
<li class="toctree-l4"><a class="reference internal" href="../get-started/quick-overview.html#styles">Styles</a></li>
<li class="toctree-l4"><a class="reference internal" href="../get-started/quick-overview.html#events">Events</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="../get-started/quick-overview.html#examples">Examples</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../get-started/quick-overview.html#button-with-label">Button with label</a></li>
<li class="toctree-l4"><a class="reference internal" href="../get-started/quick-overview.html#button-with-styles">Button with styles</a></li>
<li class="toctree-l4"><a class="reference internal" href="../get-started/quick-overview.html#slider-and-object-alignment">Slider and object alignment</a></li>
<li class="toctree-l4"><a class="reference internal" href="../get-started/quick-overview.html#list-and-themes">List and themes</a></li>
<li class="toctree-l4"><a class="reference internal" href="../get-started/quick-overview.html#use-littlevgl-from-micropython">Use LittlevGL from Micropython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="../get-started/quick-overview.html#contributing">Contributing</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../get-started/micropython.html">Micropython</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../get-started/micropython.html#what-is-micropython">What is Micropython?</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../get-started/micropython.html#highlights-of-micropython">Highlights of Micropython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="../get-started/micropython.html#why-micropython-littlevgl">Why Micropython + LittlevGL?</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../get-started/micropython.html#here-are-some-advantages-of-using-littlevgl-in-micropython">Here are some advantages of using LittlevGL in Micropython:</a></li>
<li class="toctree-l4"><a class="reference internal" href="../get-started/micropython.html#micropython-littlevgl-could-be-used-for">Micropython + LittlevGL could be used for:</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="../get-started/micropython.html#so-what-does-it-look-like">So what does it look like?</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../get-started/micropython.html#a-simple-example">A simple example</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="../get-started/micropython.html#how-can-i-use-it">How can I use it?</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../get-started/micropython.html#online-simulator">Online Simulator</a></li>
<li class="toctree-l4"><a class="reference internal" href="../get-started/micropython.html#pc-simulator">PC Simulator</a></li>
<li class="toctree-l4"><a class="reference internal" href="../get-started/micropython.html#embedded-platform">Embedded platform</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="../get-started/micropython.html#where-can-i-find-more-information">Where can I find more information?</a></li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="../porting/index.html">Porting</a><ul>
<li class="toctree-l2"><a class="reference internal" href="../porting/sys.html">System overview</a></li>
<li class="toctree-l2"><a class="reference internal" href="../porting/project.html">Set-up a project</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../porting/project.html#get-the-library">Get the library</a></li>
<li class="toctree-l3"><a class="reference internal" href="../porting/project.html#configuration-file">Configuration file</a></li>
<li class="toctree-l3"><a class="reference internal" href="../porting/project.html#initialization">Initialization</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../porting/display.html">Display interface</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../porting/display.html#display-buffer">Display buffer</a></li>
<li class="toctree-l3"><a class="reference internal" href="../porting/display.html#display-driver">Display driver</a></li>
<li class="toctree-l3"><a class="reference internal" href="../porting/display.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../porting/indev.html">Input device interface</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../porting/indev.html#types-of-input-devices">Types of input devices</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../porting/indev.html#touchpad-mouse-or-any-pointer">Touchpad, mouse or any pointer</a></li>
<li class="toctree-l4"><a class="reference internal" href="../porting/indev.html#keypad-or-keyboard">Keypad or keyboard</a></li>
<li class="toctree-l4"><a class="reference internal" href="../porting/indev.html#encoder">Encoder</a></li>
<li class="toctree-l4"><a class="reference internal" href="../porting/indev.html#button">Button</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="../porting/indev.html#other-features">Other features</a></li>
<li class="toctree-l3"><a class="reference internal" href="../porting/indev.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../porting/tick.html">Tick interface</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../porting/tick.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../porting/task-handler.html">Task Handler</a></li>
<li class="toctree-l2"><a class="reference internal" href="../porting/sleep.html">Sleep management</a></li>
<li class="toctree-l2"><a class="reference internal" href="../porting/os.html">Operating system and interrupts</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../porting/os.html#tasks-and-threads">Tasks and threads</a></li>
<li class="toctree-l3"><a class="reference internal" href="../porting/os.html#interrupts">Interrupts</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../porting/log.html">Logging</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../porting/log.html#log-level">Log level</a></li>
<li class="toctree-l3"><a class="reference internal" href="../porting/log.html#logging-with-printf">Logging with printf</a></li>
<li class="toctree-l3"><a class="reference internal" href="../porting/log.html#custom-log-function">Custom log function</a></li>
<li class="toctree-l3"><a class="reference internal" href="../porting/log.html#add-logs">Add logs</a></li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="../overview/index.html">Overview</a><ul>
<li class="toctree-l2"><a class="reference internal" href="../overview/object.html">Objects</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../overview/object.html#object-attributes">Object attributes</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../overview/object.html#basic-attributes">Basic attributes</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/object.html#specific-attributes">Specific attributes</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="../overview/object.html#object-s-working-mechanisms">Object’s working mechanisms</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../overview/object.html#parent-child-structure">Parent-child structure</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/object.html#moving-together">Moving together</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/object.html#visibility-only-on-the-parent">Visibility only on the parent</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/object.html#create-delete-objects">Create - delete objects</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/object.html#screen-the-most-basic-parent">Screen – the most basic parent</a></li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../overview/layer.html">Layers</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../overview/layer.html#order-of-creation">Order of creation</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/layer.html#bring-to-the-foreground">Bring to the foreground</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/layer.html#top-and-sys-layers">Top and sys layers</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../overview/event.html">Events</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../overview/event.html#event-types">Event types</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../overview/event.html#generic-events">Generic events</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/event.html#special-events">Special events</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="../overview/event.html#custom-data">Custom data</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/event.html#send-events-manually">Send events manually</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../overview/style.html">Styles</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../overview/style.html#use-the-styles">Use the styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/style.html#inherit-styles">Inherit styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/style.html#style-properties">Style properties</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../overview/style.html#common-properties">Common properties</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/style.html#body-style-properties">Body style properties</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/style.html#text-style-properties">Text style properties</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/style.html#image-style-properties">Image style properties</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/style.html#line-style-properties">Line style properties</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="../overview/style.html#built-in-styles">Built-in styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/style.html#create-new-styles">Create new styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/style.html#style-animations">Style animations</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/style.html#style-example">Style example</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/style.html#themes">Themes</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../overview/style.html#live-update">Live update</a></li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../overview/indev.html">Input devices</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../overview/indev.html#pointers">Pointers</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/indev.html#keypad-and-encoder">Keypad and encoder</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../overview/indev.html#groups">Groups</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/indev.html#complete-example">Complete example</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="../overview/indev.html#api">API</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../overview/indev.html#input-device">Input device</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/indev.html#id1">Groups</a></li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../overview/display.html">Displays</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../overview/display.html#using-only-one-display">Using only one display</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/display.html#mirror-display">Mirror display</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/display.html#split-image">Split image</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/display.html#screens">Screens</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../overview/display.html#opaque-screen">Opaque screen</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="../overview/display.html#features-of-displays">Features of displays</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../overview/display.html#inactivity">Inactivity</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="../overview/display.html#colors">Colors</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../overview/display.html#convert-color">Convert color</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/display.html#swap-16-colors">Swap 16 colors</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/display.html#create-and-mix-colors">Create and mix colors</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/display.html#opacity">Opacity</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/display.html#built-in-colors">Built-in colors</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="../overview/display.html#api">API</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../overview/display.html#display">Display</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/display.html#id1">Colors</a></li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../overview/font.html">Fonts</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../overview/font.html#unicode-support">Unicode support</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/font.html#built-in-fonts">Built-in fonts</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/font.html#special-features">Special features</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../overview/font.html#bidirectional-support">Bidirectional support</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/font.html#subpixel-rendering">Subpixel rendering</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/font.html#compress-fonts">Compress fonts</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="../overview/font.html#add-new-font">Add new font</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/font.html#add-new-symbols">Add new symbols</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/font.html#add-a-new-font-engine">Add a new font engine</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../overview/image.html">Images</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../overview/image.html#store-images">Store images</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../overview/image.html#variables">Variables</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/image.html#files">Files</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="../overview/image.html#color-formats">Color formats</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/image.html#add-and-use-images">Add and use images</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../overview/image.html#online-converter">Online converter</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/image.html#manually-create-an-image">Manually create an image</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/image.html#use-images">Use images</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="../overview/image.html#image-decoder">Image decoder</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../overview/image.html#custom-image-formats">Custom image formats</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/image.html#register-an-image-decoder">Register an image decoder</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/image.html#manually-use-an-image-decoder">Manually use an image decoder</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="../overview/image.html#image-caching">Image caching</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../overview/image.html#cache-size">Cache size</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/image.html#value-of-images">Value of images</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/image.html#memory-usage">Memory usage</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/image.html#clean-the-cache">Clean the cache</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="../overview/image.html#api">API</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../overview/image.html#id1">Image decoder</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/image.html#image-cache">Image cache</a></li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../overview/file-system.html">File system</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../overview/file-system.html#add-a-driver">Add a driver</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/file-system.html#usage-example">Usage example</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/file-system.html#use-drivers-for-images">Use drivers for images</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/file-system.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../overview/animation.html">Animations</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../overview/animation.html#create-an-animation">Create an animation</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/animation.html#animation-path">Animation path</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/animation.html#speed-vs-time">Speed vs time</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/animation.html#delete-animations">Delete animations</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/animation.html#api">API</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../overview/animation.html#input-device">Input device</a></li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../overview/task.html">Tasks</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../overview/task.html#create-a-task">Create a task</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/task.html#ready-and-reset">Ready and Reset</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/task.html#set-parameters">Set parameters</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/task.html#one-shot-tasks">One-shot tasks</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/task.html#measure-idle-time">Measure idle time</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/task.html#asynchronous-calls">Asynchronous calls</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/task.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../overview/drawing.html">Drawing</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../overview/drawing.html#buffering-types">Buffering types</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/drawing.html#mechanism-of-screen-refreshing">Mechanism of screen refreshing</a></li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l1 current"><a class="reference internal" href="index.html">Object types (Widgets)</a><ul class="current">
<li class="toctree-l2 current"><a class="current reference internal" href="#">Base object (lv_obj)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="#overview">Overview</a><ul>
<li class="toctree-l4"><a class="reference internal" href="#coordinates">Coordinates</a></li>
<li class="toctree-l4"><a class="reference internal" href="#parents-and-children">Parents and children</a></li>
<li class="toctree-l4"><a class="reference internal" href="#screens">Screens</a></li>
<li class="toctree-l4"><a class="reference internal" href="#layers">Layers</a></li>
<li class="toctree-l4"><a class="reference internal" href="#style">Style</a></li>
<li class="toctree-l4"><a class="reference internal" href="#events">Events</a></li>
<li class="toctree-l4"><a class="reference internal" href="#attributes">Attributes</a></li>
<li class="toctree-l4"><a class="reference internal" href="#opa-scale">Opa scale</a></li>
<li class="toctree-l4"><a class="reference internal" href="#protect">Protect</a></li>
<li class="toctree-l4"><a class="reference internal" href="#groups">Groups</a></li>
<li class="toctree-l4"><a class="reference internal" href="#extended-click-area">Extended click area</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="#styles">Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="#id1">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="arc.html">Arc (lv_arc)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="arc.html#overview">Overview</a><ul>
<li class="toctree-l4"><a class="reference internal" href="arc.html#angles">Angles</a></li>
<li class="toctree-l4"><a class="reference internal" href="arc.html#notes">Notes</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="arc.html#styles">Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="arc.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="arc.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="arc.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="arc.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="arc.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="arc.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="bar.html">Bar (lv_bar)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="bar.html#overview">Overview</a><ul>
<li class="toctree-l4"><a class="reference internal" href="bar.html#value-and-range">Value and range</a></li>
<li class="toctree-l4"><a class="reference internal" href="bar.html#symmetrical">Symmetrical</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="bar.html#styles">Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="bar.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="bar.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="bar.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="bar.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="bar.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="bar.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="btn.html">Button (lv_btn)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="btn.html#overview">Overview</a><ul>
<li class="toctree-l4"><a class="reference internal" href="btn.html#states">States</a></li>
<li class="toctree-l4"><a class="reference internal" href="btn.html#toggle">Toggle</a></li>
<li class="toctree-l4"><a class="reference internal" href="btn.html#layout-and-fit">Layout and Fit</a></li>
<li class="toctree-l4"><a class="reference internal" href="btn.html#ink-effect">Ink effect</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="btn.html#styles">Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="btn.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="btn.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="btn.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="btn.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="btn.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="btn.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="btnm.html">Button matrix (lv_btnm)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="btnm.html#overview">Overview</a><ul>
<li class="toctree-l4"><a class="reference internal" href="btnm.html#button-s-text">Button’s text</a></li>
<li class="toctree-l4"><a class="reference internal" href="btnm.html#control-buttons">Control buttons</a></li>
<li class="toctree-l4"><a class="reference internal" href="btnm.html#one-toggle">One toggle</a></li>
<li class="toctree-l4"><a class="reference internal" href="btnm.html#recolor">Recolor</a></li>
<li class="toctree-l4"><a class="reference internal" href="btnm.html#notes">Notes</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="btnm.html#styles">Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="btnm.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="btnm.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="btnm.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="btnm.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="btnm.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="btnm.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="calendar.html">Calendar (lv_calendar)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="calendar.html#overview">Overview</a><ul>
<li class="toctree-l4"><a class="reference internal" href="calendar.html#current-date">Current date</a></li>
<li class="toctree-l4"><a class="reference internal" href="calendar.html#shown-date">Shown date</a></li>
<li class="toctree-l4"><a class="reference internal" href="calendar.html#highlighted-days">Highlighted days</a></li>
<li class="toctree-l4"><a class="reference internal" href="calendar.html#name-of-the-days">Name of the days</a></li>
<li class="toctree-l4"><a class="reference internal" href="calendar.html#name-of-the-months">Name of the months</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="calendar.html#styles">Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="calendar.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="calendar.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="calendar.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="calendar.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="calendar.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="calendar.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="canvas.html">Canvas (lv_canvas)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="canvas.html#overview">Overview</a><ul>
<li class="toctree-l4"><a class="reference internal" href="canvas.html#buffer">Buffer</a></li>
<li class="toctree-l4"><a class="reference internal" href="canvas.html#palette">Palette</a></li>
<li class="toctree-l4"><a class="reference internal" href="canvas.html#drawing">Drawing</a></li>
<li class="toctree-l4"><a class="reference internal" href="canvas.html#rotate">Rotate</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="canvas.html#styles">Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="canvas.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="canvas.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="canvas.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="canvas.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="canvas.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="canvas.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="cb.html">Checkbox (lv_cb)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="cb.html#overview">Overview</a><ul>
<li class="toctree-l4"><a class="reference internal" href="cb.html#text">Text</a></li>
<li class="toctree-l4"><a class="reference internal" href="cb.html#check-uncheck">Check/Uncheck</a></li>
<li class="toctree-l4"><a class="reference internal" href="cb.html#inactive">Inactive</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="cb.html#styles">Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="cb.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="cb.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="cb.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="cb.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="cb.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="cb.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="chart.html">Chart (lv_chart)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="chart.html#overview">Overview</a><ul>
<li class="toctree-l4"><a class="reference internal" href="chart.html#data-series">Data series</a></li>
<li class="toctree-l4"><a class="reference internal" href="chart.html#series-type">Series’ type</a></li>
<li class="toctree-l4"><a class="reference internal" href="chart.html#modify-the-data">Modify the data</a></li>
<li class="toctree-l4"><a class="reference internal" href="chart.html#update-modes">Update modes</a></li>
<li class="toctree-l4"><a class="reference internal" href="chart.html#number-of-points">Number of points</a></li>
<li class="toctree-l4"><a class="reference internal" href="chart.html#vertical-range">Vertical range</a></li>
<li class="toctree-l4"><a class="reference internal" href="chart.html#division-lines">Division lines</a></li>
<li class="toctree-l4"><a class="reference internal" href="chart.html#series-appearance">Series’ appearance</a></li>
<li class="toctree-l4"><a class="reference internal" href="chart.html#tick-marks-and-labels">Tick marks and labels</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="chart.html#styles">Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="chart.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="chart.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="chart.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="chart.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="chart.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="chart.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="cont.html">Container (lv_cont)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="cont.html#overview">Overview</a><ul>
<li class="toctree-l4"><a class="reference internal" href="cont.html#layout">Layout</a></li>
<li class="toctree-l4"><a class="reference internal" href="cont.html#autofit">Autofit</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="cont.html#styles">Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="cont.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="cont.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="cont.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="cont.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="cont.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="cont.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="cpicker.html">Color picker (lv_cpicker)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="cpicker.html#overview">Overview</a><ul>
<li class="toctree-l4"><a class="reference internal" href="cpicker.html#types-of-color-pickers">Types of color pickers</a></li>
<li class="toctree-l4"><a class="reference internal" href="cpicker.html#notes">Notes</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="cpicker.html#styles">Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="cpicker.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="cpicker.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="cpicker.html#example">Example</a></li>
<li class="toctree-l3"><a class="reference internal" href="cpicker.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="ddlist.html">Drop-down list (lv_ddlist)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="ddlist.html#overview">Overview</a><ul>
<li class="toctree-l4"><a class="reference internal" href="ddlist.html#set-options">Set options</a></li>
<li class="toctree-l4"><a class="reference internal" href="ddlist.html#get-selected-option">Get selected option</a></li>
<li class="toctree-l4"><a class="reference internal" href="ddlist.html#align-the-options">Align the options</a></li>
<li class="toctree-l4"><a class="reference internal" href="ddlist.html#height-and-width">Height and width</a></li>
<li class="toctree-l4"><a class="reference internal" href="ddlist.html#scrollbars">Scrollbars</a></li>
<li class="toctree-l4"><a class="reference internal" href="ddlist.html#animation-time">Animation time</a></li>
<li class="toctree-l4"><a class="reference internal" href="ddlist.html#decoration-arrow">Decoration arrow</a></li>
<li class="toctree-l4"><a class="reference internal" href="ddlist.html#manually-open-close">Manually open/close</a></li>
<li class="toctree-l4"><a class="reference internal" href="ddlist.html#stay-open">Stay open</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="ddlist.html#styles">Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="ddlist.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="ddlist.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="ddlist.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="ddlist.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="ddlist.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="ddlist.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="gauge.html">Gauge (lv_gauge)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="gauge.html#overview">Overview</a><ul>
<li class="toctree-l4"><a class="reference internal" href="gauge.html#scale">Scale</a></li>
<li class="toctree-l4"><a class="reference internal" href="gauge.html#needles">Needles</a></li>
<li class="toctree-l4"><a class="reference internal" href="gauge.html#range">Range</a></li>
<li class="toctree-l4"><a class="reference internal" href="gauge.html#critical-value">Critical value</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="gauge.html#styles">Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="gauge.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="gauge.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="gauge.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="gauge.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="gauge.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="gauge.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="img.html">Image (lv_img)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="img.html#overview">Overview</a><ul>
<li class="toctree-l4"><a class="reference internal" href="img.html#image-source">Image source</a></li>
<li class="toctree-l4"><a class="reference internal" href="img.html#label-as-an-image">Label as an image</a></li>
<li class="toctree-l4"><a class="reference internal" href="img.html#transparency">Transparency</a></li>
<li class="toctree-l4"><a class="reference internal" href="img.html#palette-and-alpha-index">Palette and Alpha index</a></li>
<li class="toctree-l4"><a class="reference internal" href="img.html#recolor">Recolor</a></li>
<li class="toctree-l4"><a class="reference internal" href="img.html#auto-size">Auto-size</a></li>
<li class="toctree-l4"><a class="reference internal" href="img.html#mosaic">Mosaic</a></li>
<li class="toctree-l4"><a class="reference internal" href="img.html#offset">Offset</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="img.html#styles">Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="img.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="img.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="img.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="img.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="img.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="img.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="imgbtn.html">Image button (lv_imgbtn)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="imgbtn.html#overview">Overview</a><ul>
<li class="toctree-l4"><a class="reference internal" href="imgbtn.html#image-sources">Image sources</a></li>
<li class="toctree-l4"><a class="reference internal" href="imgbtn.html#states">States</a></li>
<li class="toctree-l4"><a class="reference internal" href="imgbtn.html#toggle">Toggle</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="imgbtn.html#style-usage">Style usage</a></li>
<li class="toctree-l3"><a class="reference internal" href="imgbtn.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="imgbtn.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="imgbtn.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="imgbtn.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="imgbtn.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="imgbtn.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="kb.html">Keyboard (lv_kb)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="kb.html#overview">Overview</a><ul>
<li class="toctree-l4"><a class="reference internal" href="kb.html#modes">Modes</a></li>
<li class="toctree-l4"><a class="reference internal" href="kb.html#assign-text-area">Assign Text area</a></li>
<li class="toctree-l4"><a class="reference internal" href="kb.html#new-keymap">New Keymap</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="kb.html#styles">Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="kb.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="kb.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="kb.html#examples">Examples</a><ul>
<li class="toctree-l4"><a class="reference internal" href="kb.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="kb.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="kb.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="label.html">Label (lv_label)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="label.html#overview">Overview</a><ul>
<li class="toctree-l4"><a class="reference internal" href="label.html#set-text">Set text</a></li>
<li class="toctree-l4"><a class="reference internal" href="label.html#line-break">Line break</a></li>
<li class="toctree-l4"><a class="reference internal" href="label.html#long-modes">Long modes</a></li>
<li class="toctree-l4"><a class="reference internal" href="label.html#text-align">Text align</a></li>
<li class="toctree-l4"><a class="reference internal" href="label.html#draw-background">Draw background</a></li>
<li class="toctree-l4"><a class="reference internal" href="label.html#text-recolor">Text recolor</a></li>
<li class="toctree-l4"><a class="reference internal" href="label.html#very-long-texts">Very long texts</a></li>
<li class="toctree-l4"><a class="reference internal" href="label.html#symbols">Symbols</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="label.html#styles">Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="label.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="label.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="label.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="label.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="label.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="label.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="led.html">LED (lv_led)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="led.html#overview">Overview</a><ul>
<li class="toctree-l4"><a class="reference internal" href="led.html#brightness">Brightness</a></li>
<li class="toctree-l4"><a class="reference internal" href="led.html#toggle">Toggle</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="led.html#styles">Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="led.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="led.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="led.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="led.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="led.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="led.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="line.html">Line (lv_line)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="line.html#overview">Overview</a><ul>
<li class="toctree-l4"><a class="reference internal" href="line.html#set-points">Set points</a></li>
<li class="toctree-l4"><a class="reference internal" href="line.html#auto-size">Auto-size</a></li>
<li class="toctree-l4"><a class="reference internal" href="line.html#invert-y">Invert y</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="line.html#styles">Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="line.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="line.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="line.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="line.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="line.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="line.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="list.html">List (lv_list)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="list.html#overview">Overview</a><ul>
<li class="toctree-l4"><a class="reference internal" href="list.html#add-buttons">Add buttons</a></li>
<li class="toctree-l4"><a class="reference internal" href="list.html#delete-buttons">Delete buttons</a></li>
<li class="toctree-l4"><a class="reference internal" href="list.html#manual-navigation">Manual navigation</a></li>
<li class="toctree-l4"><a class="reference internal" href="list.html#layout">Layout</a></li>
<li class="toctree-l4"><a class="reference internal" href="list.html#edge-flash">Edge flash</a></li>
<li class="toctree-l4"><a class="reference internal" href="list.html#scroll-propagation">Scroll propagation</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="list.html#style-usage">Style usage</a></li>
<li class="toctree-l3"><a class="reference internal" href="list.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="list.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="list.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="list.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="list.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="list.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="lmeter.html">Line meter (lv_lmeter)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="lmeter.html#overview">Overview</a><ul>
<li class="toctree-l4"><a class="reference internal" href="lmeter.html#set-value">Set value</a></li>
<li class="toctree-l4"><a class="reference internal" href="lmeter.html#range-and-angles">Range and Angles</a></li>
<li class="toctree-l4"><a class="reference internal" href="lmeter.html#angle-offset">Angle offset</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="lmeter.html#styles">Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="lmeter.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="lmeter.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="lmeter.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="lmeter.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="lmeter.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="lmeter.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="mbox.html">Message box (lv_mbox)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="mbox.html#overview">Overview</a><ul>
<li class="toctree-l4"><a class="reference internal" href="mbox.html#set-text">Set text</a></li>
<li class="toctree-l4"><a class="reference internal" href="mbox.html#add-buttons">Add buttons</a></li>
<li class="toctree-l4"><a class="reference internal" href="mbox.html#auto-close">Auto-close</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="mbox.html#styles">Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="mbox.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="mbox.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="mbox.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="mbox.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="mbox.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="page.html">Page (lv_page)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="page.html#overview">Overview</a><ul>
<li class="toctree-l4"><a class="reference internal" href="page.html#scrollbars">Scrollbars</a></li>
<li class="toctree-l4"><a class="reference internal" href="page.html#glue-object">Glue object</a></li>
<li class="toctree-l4"><a class="reference internal" href="page.html#focus-object">Focus object</a></li>
<li class="toctree-l4"><a class="reference internal" href="page.html#manual-navigation">Manual navigation</a></li>
<li class="toctree-l4"><a class="reference internal" href="page.html#edge-flash">Edge flash</a></li>
<li class="toctree-l4"><a class="reference internal" href="page.html#scroll-propagation">Scroll propagation</a></li>
<li class="toctree-l4"><a class="reference internal" href="page.html#scrollable-api">Scrollable API</a></li>
<li class="toctree-l4"><a class="reference internal" href="page.html#notes">Notes</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="page.html#styles">Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="page.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="page.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="page.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="page.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="page.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="preload.html">Preloader (lv_preload)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="preload.html#overview">Overview</a><ul>
<li class="toctree-l4"><a class="reference internal" href="preload.html#arc-length">Arc length</a></li>
<li class="toctree-l4"><a class="reference internal" href="preload.html#spinning-speed">Spinning speed</a></li>
<li class="toctree-l4"><a class="reference internal" href="preload.html#spin-types">Spin types</a></li>
<li class="toctree-l4"><a class="reference internal" href="preload.html#spin-direction">Spin direction</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="preload.html#styles">Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="preload.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="preload.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="preload.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="preload.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="preload.html#id1">MicroPython</a></li>
<li class="toctree-l4"><a class="reference internal" href="preload.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="preload.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="roller.html">Roller (lv_roller)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="roller.html#overview">Overview</a><ul>
<li class="toctree-l4"><a class="reference internal" href="roller.html#set-options">Set options</a></li>
<li class="toctree-l4"><a class="reference internal" href="roller.html#get-selected-option">Get selected option</a></li>
<li class="toctree-l4"><a class="reference internal" href="roller.html#align-the-options">Align the options</a></li>
<li class="toctree-l4"><a class="reference internal" href="roller.html#height-and-width">Height and width</a></li>
<li class="toctree-l4"><a class="reference internal" href="roller.html#animation-time">Animation time</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="roller.html#styles">Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="roller.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="roller.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="roller.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="roller.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="roller.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="roller.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="slider.html">Slider (lv_slider)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="slider.html#overview">Overview</a></li>
<li class="toctree-l3"><a class="reference internal" href="slider.html#value-and-range">Value and range</a><ul>
<li class="toctree-l4"><a class="reference internal" href="slider.html#symmetrical">Symmetrical</a></li>
<li class="toctree-l4"><a class="reference internal" href="slider.html#knob-placement">Knob placement</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="slider.html#styles">Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="slider.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="slider.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="slider.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="slider.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="slider.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="slider.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="spinbox.html">Spinbox (lv_spinbox)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="spinbox.html#overview">Overview</a><ul>
<li class="toctree-l4"><a class="reference internal" href="spinbox.html#set-format">Set format</a></li>
<li class="toctree-l4"><a class="reference internal" href="spinbox.html#value-and-ranges">Value and ranges</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="spinbox.html#style-usage">Style usage</a></li>
<li class="toctree-l3"><a class="reference internal" href="spinbox.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="spinbox.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="spinbox.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="spinbox.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="spinbox.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="spinbox.html#api">API</a></li>
<li class="toctree-l3"><a class="reference internal" href="spinbox.html#id1">Example</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="sw.html">Switch (lv_sw)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="sw.html#overview">Overview</a><ul>
<li class="toctree-l4"><a class="reference internal" href="sw.html#change-state">Change state</a></li>
<li class="toctree-l4"><a class="reference internal" href="sw.html#animation-time">Animation time</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="sw.html#styles">Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="sw.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="sw.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="sw.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="sw.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="sw.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="sw.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="table.html">Table (lv_table)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="table.html#overview">Overview</a><ul>
<li class="toctree-l4"><a class="reference internal" href="table.html#rows-and-columns">Rows and Columns</a></li>
<li class="toctree-l4"><a class="reference internal" href="table.html#width-and-height">Width and Height</a></li>
<li class="toctree-l4"><a class="reference internal" href="table.html#set-cell-value">Set cell value</a></li>
<li class="toctree-l4"><a class="reference internal" href="table.html#align">Align</a></li>
<li class="toctree-l4"><a class="reference internal" href="table.html#cell-type">Cell type</a></li>
<li class="toctree-l4"><a class="reference internal" href="table.html#merge-cells">Merge cells</a></li>
<li class="toctree-l4"><a class="reference internal" href="table.html#crop-text">Crop text</a></li>
<li class="toctree-l4"><a class="reference internal" href="table.html#scroll">Scroll</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="table.html#styles">Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="table.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="table.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="table.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="table.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="table.html#id1">MicroPython</a></li>
<li class="toctree-l4"><a class="reference internal" href="table.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="table.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="tabview.html">Tabview (lv_tabview)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="tabview.html#overview">Overview</a><ul>
<li class="toctree-l4"><a class="reference internal" href="tabview.html#adding-tab">Adding tab</a></li>
<li class="toctree-l4"><a class="reference internal" href="tabview.html#change-tab">Change tab</a></li>
<li class="toctree-l4"><a class="reference internal" href="tabview.html#tab-button-s-position">Tab button’s position</a></li>
<li class="toctree-l4"><a class="reference internal" href="tabview.html#hide-the-tabs">Hide the tabs</a></li>
<li class="toctree-l4"><a class="reference internal" href="tabview.html#animation-time">Animation time</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="tabview.html#style-usage">Style usage</a></li>
<li class="toctree-l3"><a class="reference internal" href="tabview.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="tabview.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="tabview.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="tabview.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="tabview.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="tabview.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="ta.html">Text area (lv_ta)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="ta.html#overview">Overview</a><ul>
<li class="toctree-l4"><a class="reference internal" href="ta.html#add-text">Add text</a></li>
<li class="toctree-l4"><a class="reference internal" href="ta.html#placeholder">Placeholder</a></li>
<li class="toctree-l4"><a class="reference internal" href="ta.html#delete-character">Delete character</a></li>
<li class="toctree-l4"><a class="reference internal" href="ta.html#move-the-cursor">Move the cursor</a></li>
<li class="toctree-l4"><a class="reference internal" href="ta.html#cursor-types">Cursor types</a></li>
<li class="toctree-l4"><a class="reference internal" href="ta.html#one-line-mode">One line mode</a></li>
<li class="toctree-l4"><a class="reference internal" href="ta.html#password-mode">Password mode</a></li>
<li class="toctree-l4"><a class="reference internal" href="ta.html#text-align">Text align</a></li>
<li class="toctree-l4"><a class="reference internal" href="ta.html#accepted-characters">Accepted characters</a></li>
<li class="toctree-l4"><a class="reference internal" href="ta.html#max-text-length">Max text length</a></li>
<li class="toctree-l4"><a class="reference internal" href="ta.html#very-long-texts">Very long texts</a></li>
<li class="toctree-l4"><a class="reference internal" href="ta.html#select-text">Select text</a></li>
<li class="toctree-l4"><a class="reference internal" href="ta.html#scrollbars">Scrollbars</a></li>
<li class="toctree-l4"><a class="reference internal" href="ta.html#scroll-propagation">Scroll propagation</a></li>
<li class="toctree-l4"><a class="reference internal" href="ta.html#edge-flash">Edge flash</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="ta.html#style-usage">Style usage</a></li>
<li class="toctree-l3"><a class="reference internal" href="ta.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="ta.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="ta.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="ta.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="ta.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="ta.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="tileview.html">Tile view (lv_tileview)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="tileview.html#overview">Overview</a><ul>
<li class="toctree-l4"><a class="reference internal" href="tileview.html#valid-positions">Valid positions</a></li>
<li class="toctree-l4"><a class="reference internal" href="tileview.html#add-element">Add element</a></li>
<li class="toctree-l4"><a class="reference internal" href="tileview.html#set-tile">Set tile</a></li>
<li class="toctree-l4"><a class="reference internal" href="tileview.html#animation-time">Animation time</a></li>
<li class="toctree-l4"><a class="reference internal" href="tileview.html#edge-flash">Edge flash</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="tileview.html#styles">Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="tileview.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="tileview.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="tileview.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="tileview.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="tileview.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="tileview.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="win.html">Window (lv_win)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="win.html#overview">Overview</a><ul>
<li class="toctree-l4"><a class="reference internal" href="win.html#title">Title</a></li>
<li class="toctree-l4"><a class="reference internal" href="win.html#control-buttons">Control buttons</a></li>
<li class="toctree-l4"><a class="reference internal" href="win.html#scrollbars">Scrollbars</a></li>
<li class="toctree-l4"><a class="reference internal" href="win.html#manual-scroll-and-focus">Manual scroll and focus</a></li>
<li class="toctree-l4"><a class="reference internal" href="win.html#layout">Layout</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="win.html#style-usage">Style usage</a></li>
<li class="toctree-l3"><a class="reference internal" href="win.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="win.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="win.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="win.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="win.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="win.html#api">API</a></li>
</ul>
</li>
</ul>
</li>
</ul>

            
          
        </div>
      </div>
    </nav>

    <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">

      
      <nav class="wy-nav-top" aria-label="top navigation">
        
          <i data-toggle="wy-nav-top" class="fa fa-bars"></i>
          <a href="../index.html">LittlevGL</a>
        
      </nav>


      <div class="wy-nav-content">
        
        <div class="rst-content">
        
          

















<div role="navigation" aria-label="breadcrumbs navigation">

  <ul class="wy-breadcrumbs">
    
      <li><a href="../index.html">Docs</a> &raquo;</li>
        
          <li><a href="index.html">Object types (Widgets)</a> &raquo;</li>
        
      <li>Base object (lv_obj)</li>
    
    
      <li class="wy-breadcrumbs-aside">
        
            
            
              <!-- User defined GitHub URL -->
              <a href="https://github.com/littlevgl/docs/blob/master/en/object-types/obj.md" class="fa fa-github"> Edit on GitHub</a>
            
          
        
      </li>
    
  </ul>

  
  <hr/>
</div>
          <div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
           <div itemprop="articleBody">
            
  <div class="section" id="base-object-lv-obj">
<h1>Base object (lv_obj)<a class="headerlink" href="#base-object-lv-obj" title="Permalink to this headline">¶</a></h1>
<div class="section" id="overview">
<h2>Overview<a class="headerlink" href="#overview" title="Permalink to this headline">¶</a></h2>
<p>The ‘Base Object’ implements the basic properties of an object on a screen, such as:</p>
<ul class="simple">
<li><p>coordinates</p></li>
<li><p>parent object</p></li>
<li><p>children</p></li>
<li><p>main style</p></li>
<li><p>attributes like <em>Click enable</em>, <em>Drag enable</em>, etc.</p></li>
</ul>
<p>In object-oriented thinking, it is the base class which all other objects in LittlevGL inherit from. This, among another things, helps reduce code duplication.</p>
<div class="section" id="coordinates">
<h3>Coordinates<a class="headerlink" href="#coordinates" title="Permalink to this headline">¶</a></h3>
<p>The object size can be modified on individual axes with <code class="docutils literal notranslate"><span class="pre">lv_obj_set_width(obj,</span> <span class="pre">new_width)</span></code> and <code class="docutils literal notranslate"><span class="pre">lv_obj_set_height(obj,</span> <span class="pre">new_height)</span></code>, or both axes can be modified at the same time with <code class="docutils literal notranslate"><span class="pre">lv_obj_set_size(obj,</span> <span class="pre">new_width,</span> <span class="pre">new_height)</span></code>.</p>
<p>You can set the x and y coordinates relative to the parent with <code class="docutils literal notranslate"><span class="pre">lv_obj_set_x(obj,</span> <span class="pre">new_x)</span></code> and <code class="docutils literal notranslate"><span class="pre">lv_obj_set_y(obj,</span> <span class="pre">new_y)</span></code>, or both at the same time with <code class="docutils literal notranslate"><span class="pre">lv_obj_set_pos(obj,</span> <span class="pre">new_x,</span> <span class="pre">new_y)</span></code>.</p>
<p>You can align the object to another with <code class="docutils literal notranslate"><span class="pre">lv_obj_align(obj,</span> <span class="pre">obj_ref,</span> <span class="pre">LV_ALIGN_...,</span> <span class="pre">x_shift,</span> <span class="pre">y_shift)</span></code>.</p>
<ul>
<li><p><code class="docutils literal notranslate"><span class="pre">obj</span></code> is the object to align.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">obj_ref</span></code> is a reference object. <code class="docutils literal notranslate"><span class="pre">obj</span></code> will be aligned to it. If <code class="docutils literal notranslate"><span class="pre">obj_ref</span> <span class="pre">=</span> <span class="pre">NULL</span></code>, then the parent of <code class="docutils literal notranslate"><span class="pre">obj</span></code> will be used.</p></li>
<li><p>The third argument is the <em>type</em> of alignment. These are the possible options:
<img alt="../_images/align.png" src="../_images/align.png" /></p>
<p>The alignment types build like <code class="docutils literal notranslate"><span class="pre">LV_ALIGN_OUT_TOP_MID</span></code>.</p>
</li>
<li><p>The last two arguments allow you to shift the object by a specified number of pixels after aligning it.</p></li>
</ul>
<p>For example, to align a text below an image: <code class="docutils literal notranslate"><span class="pre">lv_obj_align(text,</span> <span class="pre">image,</span> <span class="pre">LV_ALIGN_OUT_BOTTOM_MID,</span> <span class="pre">0,</span> <span class="pre">10)</span></code>.<br />Or to align a text in the middle of its parent: <code class="docutils literal notranslate"><span class="pre">lv_obj_align(text,</span> <span class="pre">NULL,</span> <span class="pre">LV_ALIGN_CENTER,</span> <span class="pre">0,</span> <span class="pre">0)</span></code>.</p>
<p><code class="docutils literal notranslate"><span class="pre">lv_obj_align_origo</span></code> works similarly to <code class="docutils literal notranslate"><span class="pre">lv_obj_align</span></code> but, it aligns the center of the object rather than the top-left corner.</p>
<p>For example, <code class="docutils literal notranslate"><span class="pre">lv_obj_align_origo(btn,</span> <span class="pre">image,</span> <span class="pre">LV_ALIGN_OUT_BOTTOM_MID,</span> <span class="pre">0,</span> <span class="pre">0)</span></code> will align the center of the button the bottom of the image.</p>
<p>The parameters of the alignment will be saved in the object if <code class="docutils literal notranslate"><span class="pre">LV_USE_OBJ_REALIGN</span></code> is enabled in <em>lv_conf.h</em>. You can then realign the objects simply by calling <code class="docutils literal notranslate"><span class="pre">lv_obj_realign(obj)</span></code>. (It’s equivalent to calling <code class="docutils literal notranslate"><span class="pre">lv_obj_align</span></code> again with the same parameters.)</p>
<p>If the alignment happened with <code class="docutils literal notranslate"><span class="pre">lv_obj_align_origo</span></code>, then it will be used when the object is realigned.</p>
<p>If <code class="docutils literal notranslate"><span class="pre">lv_obj_set_auto_realign(obj,</span> <span class="pre">true)</span></code> is used the object will be realigned automatically, if its size changes in <code class="docutils literal notranslate"><span class="pre">lv_obj_set_width/height/size()</span></code> functions. It’s very useful when size animations are applied to the object and the original position needs to be kept.</p>
<p><strong>Note that the coordinates of screens can’t be changed. Attempting to use these functions on screens will result in undefined behavior.</strong></p>
</div>
<div class="section" id="parents-and-children">
<h3>Parents and children<a class="headerlink" href="#parents-and-children" title="Permalink to this headline">¶</a></h3>
<p>You can set a new parent for an object with <code class="docutils literal notranslate"><span class="pre">lv_obj_set_parent(obj,</span> <span class="pre">new_parent)</span></code>. To get the current parent, use <code class="docutils literal notranslate"><span class="pre">lv_obj_get_parent(obj)</span></code>.</p>
<p>To get the children of an object, use <code class="docutils literal notranslate"><span class="pre">lv_obj_get_child(obj,</span> <span class="pre">child_prev)</span></code> (from last to first) or <code class="docutils literal notranslate"><span class="pre">lv_obj_get_child_back(obj,</span> <span class="pre">child_prev)</span></code> (from first to last).
To get the first child, pass <code class="docutils literal notranslate"><span class="pre">NULL</span></code> as the second parameter and use the return value to iterate through the children. The function will return <code class="docutils literal notranslate"><span class="pre">NULL</span></code> if there are no more children. For example:</p>
<div class="highlight-c notranslate"><div class="highlight"><pre><span></span><span class="n">lv_obj_t</span> <span class="o">*</span> <span class="n">child</span><span class="p">;</span>
<span class="n">child</span> <span class="o">=</span> <span class="n">lv_obj_get_child</span><span class="p">(</span><span class="n">parent</span><span class="p">,</span> <span class="nb">NULL</span><span class="p">);</span>
<span class="k">while</span><span class="p">(</span><span class="n">child</span><span class="p">)</span> <span class="p">{</span>
    <span class="cm">/*Do something with &quot;child&quot; */</span>
    <span class="n">child</span> <span class="o">=</span> <span class="n">lv_obj_get_child</span><span class="p">(</span><span class="n">parent</span><span class="p">,</span> <span class="n">child</span><span class="p">);</span>
<span class="p">}</span>
</pre></div>
</div>
<p><code class="docutils literal notranslate"><span class="pre">lv_obj_count_children(obj)</span></code> tells the number of children on an object. <code class="docutils literal notranslate"><span class="pre">lv_obj_count_children_recursive(obj)</span></code> also tells the number of children but counts children of children recursively.</p>
</div>
<div class="section" id="screens">
<h3>Screens<a class="headerlink" href="#screens" title="Permalink to this headline">¶</a></h3>
<p>When you have created a screen like <code class="docutils literal notranslate"><span class="pre">lv_obj_create(NULL,</span> <span class="pre">NULL)</span></code>, you can load it with <code class="docutils literal notranslate"><span class="pre">lv_scr_load(screen1)</span></code>. The <code class="docutils literal notranslate"><span class="pre">lv_scr_act()</span></code> function gives you a pointer to the current screen.</p>
<p>If you have more display then it’s important to know that these functions operate on the lastly created or the explicitly selected (with <code class="docutils literal notranslate"><span class="pre">lv_disp_set_default</span></code>) display.</p>
<p>To get the screen an object is assigned to, use the <code class="docutils literal notranslate"><span class="pre">lv_obj_get_screen(obj)</span></code> function.</p>
</div>
<div class="section" id="layers">
<h3>Layers<a class="headerlink" href="#layers" title="Permalink to this headline">¶</a></h3>
<p>There are two  automatically generated layers:</p>
<ul class="simple">
<li><p>top layer</p></li>
<li><p>system layer</p></li>
</ul>
<p>They are independent of the screens and the same layers will be shown on every screen. The <em>top layer</em> is above every object on the screen and the <em>system layer</em> is above the <em>top layer</em> too.
You can add any pop-up windows to the <em>top layer</em> freely. But, the <em>system layer</em> is restricted to system-level things (e.g. mouse cursor will be placed here in <code class="docutils literal notranslate"><span class="pre">lv_indev_set_cursor()</span></code>).</p>
<p>The <code class="docutils literal notranslate"><span class="pre">lv_layer_top()</span></code> and <code class="docutils literal notranslate"><span class="pre">lv_layer_sys()</span></code> functions gives a pointer to the top or system layer.</p>
<p>You can bring an object to the foreground or send it to the background with <code class="docutils literal notranslate"><span class="pre">lv_obj_move_foreground(obj)</span></code> and <code class="docutils literal notranslate"><span class="pre">lv_obj_move_background(obj)</span></code>.</p>
<p>Read the <a class="reference internal" href="../overview/layer.html"><span class="doc">Layer overview</span></a> section to learn more about layers.</p>
</div>
<div class="section" id="style">
<h3>Style<a class="headerlink" href="#style" title="Permalink to this headline">¶</a></h3>
<p>The base object stores the <a class="reference internal" href="../overview/style.html"><span class="doc">Main style</span></a> of the object. To set a new style, use <code class="docutils literal notranslate"><span class="pre">lv_obj_set_style(obj,</span> <span class="pre">&amp;new_style)</span></code> function. If <code class="docutils literal notranslate"><span class="pre">NULL</span></code> is set as style, then the object will inherit its parent’s style.</p>
<p>Note that, you should use <code class="docutils literal notranslate"><span class="pre">lv_obj_set_style</span></code> only for “Base objects”. Every other object type has its own style set function which should be used for them. For example, a button should use <code class="docutils literal notranslate"><span class="pre">lv_btn_set_style()</span></code>.</p>
<p>If you modify a style, which is already used by objects, in order to refresh the affected objects you can use either <code class="docutils literal notranslate"><span class="pre">lv_obj_refresh_style(obj)</span></code> on each object using it or to notify all objects with a given style use <code class="docutils literal notranslate"><span class="pre">lv_obj_report_style_mod(&amp;style)</span></code>. If the parameter of <code class="docutils literal notranslate"><span class="pre">lv_obj_report_style_mod</span></code> is <code class="docutils literal notranslate"><span class="pre">NULL</span></code>, all objects will be notified.</p>
<p>Read the <a class="reference internal" href="../overview/style.html"><span class="doc">Style overview</span></a> to learn more about styles.</p>
</div>
<div class="section" id="events">
<h3>Events<a class="headerlink" href="#events" title="Permalink to this headline">¶</a></h3>
<p>To set an event callback for an object, use <code class="docutils literal notranslate"><span class="pre">lv_obj_set_event_cb(obj,</span> <span class="pre">event_cb)</span></code>,</p>
<p>To manually send an event to an object, use <code class="docutils literal notranslate"><span class="pre">lv_event_send(obj,</span> <span class="pre">LV_EVENT_...,</span> <span class="pre">data)</span></code></p>
<p>Read the <a class="reference internal" href="../overview/event.html"><span class="doc">Event overview</span></a> to learn more about the events.</p>
</div>
<div class="section" id="attributes">
<h3>Attributes<a class="headerlink" href="#attributes" title="Permalink to this headline">¶</a></h3>
<p>There are some attributes which can be enabled/disabled by <code class="docutils literal notranslate"><span class="pre">lv_obj_set_...(obj,</span> <span class="pre">true/false)</span></code>:</p>
<ul class="simple">
<li><p><strong>hidden</strong> -  Hide the object. It will not be drawn and will be considered by input devices as if it doesn’t exist., Its children will be hidden too.</p></li>
<li><p><strong>click</strong> -  Allows you to click the object via input devices. If disabled, then click events are passed to the object behind this one. (E.g. <a class="reference internal" href="label.html"><span class="doc">Labels</span></a> are not clickable by default)</p></li>
<li><p><strong>top</strong> -  If enabled then when this object or any of its children is clicked then this object comes to the foreground.</p></li>
<li><p><strong>drag</strong> - Enable dragging (moving by an input device)</p></li>
<li><p><strong>drag_dir</strong> - Enable dragging only in specific directions. Can be <code class="docutils literal notranslate"><span class="pre">LV_DRAG_DIR_HOR/VER/ALL</span></code>.</p></li>
<li><p><strong>drag_throw</strong> - Enable “throwing” with dragging as if the object would have momentum</p></li>
<li><p><strong>drag_parent</strong> - If enabled then the object’s parent will be moved during dragging. It will look like as if the parent is dragged. Checked recursively, so can propagate to grandparents too.</p></li>
<li><p><strong>parent_event</strong> - Propagate the events to the parents too. Checked recursively, so can propagate to grandparents too.</p></li>
<li><p><strong>opa_scale_enable</strong> - Enable opacity scaling. See the [#opa-scale](Opa scale) section.</p></li>
</ul>
</div>
<div class="section" id="opa-scale">
<h3>Opa scale<a class="headerlink" href="#opa-scale" title="Permalink to this headline">¶</a></h3>
<p>If <code class="docutils literal notranslate"><span class="pre">lv_obj_set_opa_scale_enable(obj,</span> <span class="pre">true)</span></code> is set for an object, then the object’s and all of its children’s opacity can be adjusted with <code class="docutils literal notranslate"><span class="pre">lv_obj_set_opa_scale(obj,</span> <span class="pre">LV_OPA_...)</span></code>.
The opacities stored in the styles will be scaled down by this factor.</p>
<p>It is very useful to fade in/out an object with some children using an <a class="reference internal" href="../overview/animation.html"><span class="doc">Animation</span></a>.</p>
<p>A little bit of technical background: during the rendering process, the opacity of the object is decided by searching recursively up the object’s family tree to find the first object with opacity scaling (Opa scale) enabled.</p>
<p>If an object is found with an enabled <em>Opa scale</em>, then that <em>Opa scale</em> will be used by the rendered object too.</p>
<p>Therefore, if you want to disable the Opa scaling for an object when the parent has Opa scale, just enable Opa scaling for the object and set its value to <code class="docutils literal notranslate"><span class="pre">LV_OPA_COVER</span></code>. It will overwrite the parent’s settings.</p>
</div>
<div class="section" id="protect">
<h3>Protect<a class="headerlink" href="#protect" title="Permalink to this headline">¶</a></h3>
<p>There are some specific actions which happen automatically in the library.
To prevent one or more that kind of actions, you can protect the object against them. The following protections exists:</p>
<ul class="simple">
<li><p><strong>LV_PROTECT_NONE</strong> No protection</p></li>
<li><p><strong>LV_PROTECT_POS</strong>  Prevent automatic positioning (e.g.  Layout in <a class="reference internal" href="cont.html"><span class="doc">Containers</span></a>)</p></li>
<li><p><strong>LV_PROTECT_FOLLOW</strong> Prevent the object be followed (make a “line break”) in automatic ordering (e.g. Layout in <a class="reference internal" href="cont.html"><span class="doc">Containers</span></a>)</p></li>
<li><p><strong>LV_PROTECT_PARENT</strong> Prevent automatic parent change. (e.g. <a class="reference internal" href="page.html"><span class="doc">Page</span></a> moves the children created on the background to the scrollable)</p></li>
<li><p><strong>LV_PROTECT_PRESS_LOST</strong> Prevent losing press when the press is slid out of the objects. (E.g. a <a class="reference internal" href="btn.html"><span class="doc">Button</span></a> can be released out of it if it was being pressed)</p></li>
<li><p><strong>LV_PROTECT_CLICK_FOCUS</strong> Prevent automatically focusing the object if it’s in a <em>Group</em> and click focus is enabled.</p></li>
<li><p><strong>LV_PROTECT_CHILD_CHG</strong> Disable the child change signal. Used internally by the library</p></li>
</ul>
<p>The <code class="docutils literal notranslate"><span class="pre">lv_obj_set/clear_protect(obj,</span> <span class="pre">LV_PROTECT_...)</span></code> sets/clears the protection. You can use <em>‘OR’ed</em> values of protection types too.</p>
</div>
<div class="section" id="groups">
<h3>Groups<a class="headerlink" href="#groups" title="Permalink to this headline">¶</a></h3>
<p>Once, an object is added to <em>group</em> with <code class="docutils literal notranslate"><span class="pre">lv_group_add_obj(group,</span> <span class="pre">obj)</span></code> the object’s current group can be get with <code class="docutils literal notranslate"><span class="pre">lv_obj_get_group(obj)</span></code>.</p>
<p><code class="docutils literal notranslate"><span class="pre">lv_obj_is_focused(obj)</span></code> tells if the object is currently focused on its group or not. If the object is not added to a group, <code class="docutils literal notranslate"><span class="pre">false</span></code> will be returned.</p>
<p>Read the <a class="reference internal" href="../overview/indev.html"><span class="doc">Input devices overview</span></a> to learn more about the <em>Groups</em>.</p>
</div>
<div class="section" id="extended-click-area">
<h3>Extended click area<a class="headerlink" href="#extended-click-area" title="Permalink to this headline">¶</a></h3>
<p>By default, the objects can be clicked only on their coordinates, however, this area can be extended with <code class="docutils literal notranslate"><span class="pre">lv_obj_set_ext_click_area(obj,</span> <span class="pre">left,</span> <span class="pre">right,</span> <span class="pre">top,</span> <span class="pre">bottom)</span></code>.
<code class="docutils literal notranslate"><span class="pre">left/right/top/bottom</span></code> describes how far the clickable area should extend past the default in each direction.</p>
<p>This feature needs to enabled in <em>lv_conf.h</em> with <code class="docutils literal notranslate"><span class="pre">LV_USE_EXT_CLICK_AREA</span></code>. The possible values are:</p>
<ul class="simple">
<li><p><strong>LV_EXT_CLICK_AREA_FULL</strong> store all 4 coordinates as <code class="docutils literal notranslate"><span class="pre">lv_coord_t</span></code></p></li>
<li><p><strong>LV_EXT_CLICK_AREA_TINY</strong> store only horizontal and vertical coordinates (use the greater value of left/right and top/bottom) as <code class="docutils literal notranslate"><span class="pre">uint8_t</span></code></p></li>
<li><p><strong>LV_EXT_CLICK_AREA_OFF</strong> Disable this feature</p></li>
</ul>
</div>
</div>
<div class="section" id="styles">
<h2>Styles<a class="headerlink" href="#styles" title="Permalink to this headline">¶</a></h2>
<p>Use <code class="docutils literal notranslate"><span class="pre">lv_obj_set_style(obj,</span> <span class="pre">&amp;style)</span></code> to set a style for a base object.</p>
<p>All <code class="docutils literal notranslate"><span class="pre">style.body</span></code>  properties are used. The default style for screens is <code class="docutils literal notranslate"><span class="pre">lv_style_scr</span></code>  and <code class="docutils literal notranslate"><span class="pre">lv_style_plain_color</span></code> for normal objects</p>
</div>
<div class="section" id="id1">
<h2>Events<a class="headerlink" href="#id1" title="Permalink to this headline">¶</a></h2>
<p>Only the <a class="reference external" href="/overview/event.html#generic-events">Generic events</a> are sent by the object type.</p>
<p>Learn more about <a class="reference internal" href="../overview/event.html"><span class="doc">Events</span></a>.</p>
</div>
<div class="section" id="keys">
<h2>Keys<a class="headerlink" href="#keys" title="Permalink to this headline">¶</a></h2>
<p>No <em>Keys</em> are processed by the object type.</p>
<p>Learn more about <a class="reference internal" href="../overview/indev.html"><span class="doc">Keys</span></a>.</p>
</div>
<div class="section" id="example">
<h2>Example<a class="headerlink" href="#example" title="Permalink to this headline">¶</a></h2>
<div class="section" id="c">
<h3>C<a class="headerlink" href="#c" title="Permalink to this headline">¶</a></h3>
<div class="section" id="base-obejcts-with-custom-styles">
<h4>Base obejcts with custom styles<a class="headerlink" href="#base-obejcts-with-custom-styles" title="Permalink to this headline">¶</a></h4>
<img alt="Simeple Base object example in LittlevGL" src="../_images/lv_ex_obj_1.png" />
<div class="toggle docutils container">
<div class="header docutils container">
<p>code</p>
</div>
<div class="highlight-c notranslate"><div class="highlight"><pre><span></span><span class="cp">#include</span> <span class="cpf">&quot;lvgl/lvgl.h&quot;</span><span class="cp"></span>

<span class="kt">void</span> <span class="nf">lv_ex_obj_1</span><span class="p">(</span><span class="kt">void</span><span class="p">)</span>
<span class="p">{</span>
    <span class="n">lv_obj_t</span> <span class="o">*</span> <span class="n">obj1</span><span class="p">;</span>
    <span class="n">obj1</span> <span class="o">=</span> <span class="n">lv_obj_create</span><span class="p">(</span><span class="n">lv_scr_act</span><span class="p">(),</span> <span class="nb">NULL</span><span class="p">);</span>
    <span class="n">lv_obj_set_size</span><span class="p">(</span><span class="n">obj1</span><span class="p">,</span> <span class="mi">100</span><span class="p">,</span> <span class="mi">50</span><span class="p">);</span>
    <span class="n">lv_obj_set_style</span><span class="p">(</span><span class="n">obj1</span><span class="p">,</span> <span class="o">&amp;</span><span class="n">lv_style_plain_color</span><span class="p">);</span>
    <span class="n">lv_obj_align</span><span class="p">(</span><span class="n">obj1</span><span class="p">,</span> <span class="nb">NULL</span><span class="p">,</span> <span class="n">LV_ALIGN_CENTER</span><span class="p">,</span> <span class="o">-</span><span class="mi">60</span><span class="p">,</span> <span class="o">-</span><span class="mi">30</span><span class="p">);</span>

    <span class="cm">/*Copy the previous object and enable drag*/</span>
    <span class="n">lv_obj_t</span> <span class="o">*</span> <span class="n">obj2</span><span class="p">;</span>
    <span class="n">obj2</span> <span class="o">=</span> <span class="n">lv_obj_create</span><span class="p">(</span><span class="n">lv_scr_act</span><span class="p">(),</span> <span class="n">obj1</span><span class="p">);</span>
    <span class="n">lv_obj_set_style</span><span class="p">(</span><span class="n">obj2</span><span class="p">,</span> <span class="o">&amp;</span><span class="n">lv_style_pretty_color</span><span class="p">);</span>
    <span class="n">lv_obj_align</span><span class="p">(</span><span class="n">obj2</span><span class="p">,</span> <span class="nb">NULL</span><span class="p">,</span> <span class="n">LV_ALIGN_CENTER</span><span class="p">,</span> <span class="mi">0</span><span class="p">,</span> <span class="mi">0</span><span class="p">);</span>
    <span class="n">lv_obj_set_drag</span><span class="p">(</span><span class="n">obj2</span><span class="p">,</span> <span class="nb">true</span><span class="p">);</span>

    <span class="k">static</span> <span class="n">lv_style_t</span> <span class="n">style_shadow</span><span class="p">;</span>
    <span class="n">lv_style_copy</span><span class="p">(</span><span class="o">&amp;</span><span class="n">style_shadow</span><span class="p">,</span> <span class="o">&amp;</span><span class="n">lv_style_pretty</span><span class="p">);</span>
    <span class="n">style_shadow</span><span class="p">.</span><span class="n">body</span><span class="p">.</span><span class="n">shadow</span><span class="p">.</span><span class="n">width</span> <span class="o">=</span> <span class="mi">6</span><span class="p">;</span>
    <span class="n">style_shadow</span><span class="p">.</span><span class="n">body</span><span class="p">.</span><span class="n">radius</span> <span class="o">=</span> <span class="n">LV_RADIUS_CIRCLE</span><span class="p">;</span>

    <span class="cm">/*Copy the previous object (drag is already enabled)*/</span>
    <span class="n">lv_obj_t</span> <span class="o">*</span> <span class="n">obj3</span><span class="p">;</span>
    <span class="n">obj3</span> <span class="o">=</span> <span class="n">lv_obj_create</span><span class="p">(</span><span class="n">lv_scr_act</span><span class="p">(),</span> <span class="n">obj2</span><span class="p">);</span>
    <span class="n">lv_obj_set_style</span><span class="p">(</span><span class="n">obj3</span><span class="p">,</span> <span class="o">&amp;</span><span class="n">style_shadow</span><span class="p">);</span>
    <span class="n">lv_obj_align</span><span class="p">(</span><span class="n">obj3</span><span class="p">,</span> <span class="nb">NULL</span><span class="p">,</span> <span class="n">LV_ALIGN_CENTER</span><span class="p">,</span> <span class="mi">60</span><span class="p">,</span> <span class="mi">30</span><span class="p">);</span>
<span class="p">}</span>
</pre></div>
</div>
</div>
</div>
</div>
<div class="section" id="micropython">
<h3>MicroPython<a class="headerlink" href="#micropython" title="Permalink to this headline">¶</a></h3>
<div class="section" id="id2">
<h4>Base obejcts with custom styles<a class="headerlink" href="#id2" title="Permalink to this headline">¶</a></h4>
<img alt="Simeple Base object example in LittlevGL with MicroPython" src="../_images/lv_ex_obj_1.png" />
<div class="toggle docutils container">
<div class="header docutils container">
<p>code</p>
</div>
<div class="highlight-python notranslate"><div class="highlight"><pre><span></span><span class="n">obj1</span> <span class="o">=</span> <span class="n">lv</span><span class="o">.</span><span class="n">obj</span><span class="p">(</span><span class="n">lv</span><span class="o">.</span><span class="n">scr_act</span><span class="p">())</span>
<span class="n">obj1</span><span class="o">.</span><span class="n">set_size</span><span class="p">(</span><span class="mi">100</span><span class="p">,</span> <span class="mi">50</span><span class="p">)</span>
<span class="n">obj1</span><span class="o">.</span><span class="n">set_style</span><span class="p">(</span><span class="n">lv</span><span class="o">.</span><span class="n">style_plain_color</span><span class="p">)</span>
<span class="n">obj1</span><span class="o">.</span><span class="n">align</span><span class="p">(</span><span class="bp">None</span><span class="p">,</span> <span class="n">lv</span><span class="o">.</span><span class="n">ALIGN</span><span class="o">.</span><span class="n">CENTER</span><span class="p">,</span> <span class="o">-</span><span class="mi">60</span><span class="p">,</span> <span class="o">-</span><span class="mi">30</span><span class="p">)</span>

<span class="c1"># Copy the previous object and enable drag</span>
<span class="n">obj2</span> <span class="o">=</span> <span class="n">lv</span><span class="o">.</span><span class="n">obj</span><span class="p">(</span><span class="n">lv</span><span class="o">.</span><span class="n">scr_act</span><span class="p">(),</span> <span class="n">obj1</span><span class="p">)</span>
<span class="n">obj2</span><span class="o">.</span><span class="n">set_style</span><span class="p">(</span><span class="n">lv</span><span class="o">.</span><span class="n">style_pretty_color</span><span class="p">)</span>
<span class="n">obj2</span><span class="o">.</span><span class="n">align</span><span class="p">(</span><span class="bp">None</span><span class="p">,</span> <span class="n">lv</span><span class="o">.</span><span class="n">ALIGN</span><span class="o">.</span><span class="n">CENTER</span><span class="p">,</span> <span class="mi">0</span><span class="p">,</span> <span class="mi">0</span><span class="p">)</span>
<span class="n">obj2</span><span class="o">.</span><span class="n">set_drag</span><span class="p">(</span><span class="bp">True</span><span class="p">)</span>

<span class="n">style_shadow</span> <span class="o">=</span> <span class="n">lv</span><span class="o">.</span><span class="n">style_t</span><span class="p">()</span>
<span class="n">lv</span><span class="o">.</span><span class="n">style_copy</span><span class="p">(</span><span class="n">style_shadow</span><span class="p">,</span> <span class="n">lv</span><span class="o">.</span><span class="n">style_pretty</span><span class="p">)</span>
<span class="n">style_shadow</span><span class="o">.</span><span class="n">body</span><span class="o">.</span><span class="n">shadow</span><span class="o">.</span><span class="n">width</span> <span class="o">=</span> <span class="mi">6</span>
<span class="n">style_shadow</span><span class="o">.</span><span class="n">body</span><span class="o">.</span><span class="n">radius</span> <span class="o">=</span> <span class="mi">800</span> <span class="c1"># large enough to make it round</span>

<span class="c1"># Copy the previous object (drag is already enabled)</span>
<span class="n">obj3</span> <span class="o">=</span> <span class="n">lv</span><span class="o">.</span><span class="n">obj</span><span class="p">(</span><span class="n">lv</span><span class="o">.</span><span class="n">scr_act</span><span class="p">(),</span> <span class="n">obj2</span><span class="p">)</span>
<span class="n">obj3</span><span class="o">.</span><span class="n">set_style</span><span class="p">(</span><span class="n">style_shadow</span><span class="p">)</span>
<span class="n">obj3</span><span class="o">.</span><span class="n">align</span><span class="p">(</span><span class="bp">None</span><span class="p">,</span> <span class="n">lv</span><span class="o">.</span><span class="n">ALIGN</span><span class="o">.</span><span class="n">CENTER</span><span class="p">,</span> <span class="mi">60</span><span class="p">,</span> <span class="mi">30</span><span class="p">)</span>
</pre></div>
</div>
</div>
</div>
</div>
</div>
<div class="section" id="api">
<h2>API<a class="headerlink" href="#api" title="Permalink to this headline">¶</a></h2>
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Typedefs</p>
<dl class="cpp type">
<dt id="_CPPv416lv_design_mode_t">
<span id="_CPPv316lv_design_mode_t"></span><span id="_CPPv216lv_design_mode_t"></span><span id="lv_design_mode_t"></span><span class="target" id="lv__obj_8h_1a56836b6e5426fe0b9190a6adb32120c2"></span><em class="property">typedef </em>uint8_t <code class="sig-name descname">lv_design_mode_t</code><a class="headerlink" href="#_CPPv416lv_design_mode_t" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp type">
<dt id="_CPPv414lv_design_cb_t">
<span id="_CPPv314lv_design_cb_t"></span><span id="_CPPv214lv_design_cb_t"></span><span id="lv_design_cb_t"></span><span class="target" id="lv__obj_8h_1a8589c55e59ae3d8b9125911bf4f28362"></span><em class="property">typedef </em>bool (*<code class="sig-name descname">lv_design_cb_t</code>)<span class="sig-paren">(</span><em class="property">struct</em> <a class="reference internal" href="#_CPPv49_lv_obj_t" title="_lv_obj_t">_lv_obj_t</a> *obj, <em class="property">const</em> lv_area_t *mask_p, <a class="reference internal" href="#_CPPv416lv_design_mode_t" title="lv_design_mode_t">lv_design_mode_t</a> mode<span class="sig-paren">)</span><a class="headerlink" href="#_CPPv414lv_design_cb_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>The design callback is used to draw the object on the screen. It accepts the object, a mask area, and the mode in which to draw the object. </p>
</dd></dl>

<dl class="cpp type">
<dt id="_CPPv410lv_event_t">
<span id="_CPPv310lv_event_t"></span><span id="_CPPv210lv_event_t"></span><span id="lv_event_t"></span><span class="target" id="lv__obj_8h_1a81567353752c588831ed89a3b15b4ca0"></span><em class="property">typedef </em>uint8_t <code class="sig-name descname">lv_event_t</code><a class="headerlink" href="#_CPPv410lv_event_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Type of event being sent to the object. </p>
</dd></dl>

<dl class="cpp type">
<dt id="_CPPv413lv_event_cb_t">
<span id="_CPPv313lv_event_cb_t"></span><span id="_CPPv213lv_event_cb_t"></span><span id="lv_event_cb_t"></span><span class="target" id="lv__obj_8h_1a9366c6b8b950ee09075cdfe83105a81f"></span><em class="property">typedef </em>void (*<code class="sig-name descname">lv_event_cb_t</code>)<span class="sig-paren">(</span><em class="property">struct</em> <a class="reference internal" href="#_CPPv49_lv_obj_t" title="_lv_obj_t">_lv_obj_t</a> *obj, <a class="reference internal" href="#_CPPv410lv_event_t" title="lv_event_t">lv_event_t</a> event<span class="sig-paren">)</span><a class="headerlink" href="#_CPPv413lv_event_cb_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Event callback. Events are used to notify the user of some action being taken on the object. For details, see <a class="reference internal" href="#lv__obj_8h_1a81567353752c588831ed89a3b15b4ca0"><span class="std std-ref">lv_event_t</span></a>. </p>
</dd></dl>

<dl class="cpp type">
<dt id="_CPPv411lv_signal_t">
<span id="_CPPv311lv_signal_t"></span><span id="_CPPv211lv_signal_t"></span><span id="lv_signal_t"></span><span class="target" id="lv__obj_8h_1aaec725321f7abe33a79d04cdc91498ce"></span><em class="property">typedef </em>uint8_t <code class="sig-name descname">lv_signal_t</code><a class="headerlink" href="#_CPPv411lv_signal_t" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp type">
<dt id="_CPPv414lv_signal_cb_t">
<span id="_CPPv314lv_signal_cb_t"></span><span id="_CPPv214lv_signal_cb_t"></span><span id="lv_signal_cb_t"></span><span class="target" id="lv__obj_8h_1a5277b3d9138e4423e14e45b4f2a3b4c2"></span><em class="property">typedef </em>lv_res_t (*<code class="sig-name descname">lv_signal_cb_t</code>)<span class="sig-paren">(</span><em class="property">struct</em> <a class="reference internal" href="#_CPPv49_lv_obj_t" title="_lv_obj_t">_lv_obj_t</a> *obj, <a class="reference internal" href="#_CPPv411lv_signal_t" title="lv_signal_t">lv_signal_t</a> sign, void *param<span class="sig-paren">)</span><a class="headerlink" href="#_CPPv414lv_signal_cb_t" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp type">
<dt id="_CPPv410lv_align_t">
<span id="_CPPv310lv_align_t"></span><span id="_CPPv210lv_align_t"></span><span id="lv_align_t"></span><span class="target" id="lv__obj_8h_1a764d29937ae4f6253a249a427a91e4d8"></span><em class="property">typedef </em>uint8_t <code class="sig-name descname">lv_align_t</code><a class="headerlink" href="#_CPPv410lv_align_t" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp type">
<dt id="_CPPv413lv_drag_dir_t">
<span id="_CPPv313lv_drag_dir_t"></span><span id="_CPPv213lv_drag_dir_t"></span><span id="lv_drag_dir_t"></span><span class="target" id="lv__obj_8h_1aa03e9f82677379f4137c769aa6e56cdf"></span><em class="property">typedef </em>uint8_t <code class="sig-name descname">lv_drag_dir_t</code><a class="headerlink" href="#_CPPv413lv_drag_dir_t" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp type">
<dt id="_CPPv48lv_obj_t">
<span id="_CPPv38lv_obj_t"></span><span id="_CPPv28lv_obj_t"></span><span id="lv_obj_t"></span><span class="target" id="lv__obj_8h_1a38023c894dabf8ae85bf86aa79981ceb"></span><em class="property">typedef </em><em class="property">struct</em> <a class="reference internal" href="#_CPPv49_lv_obj_t" title="_lv_obj_t">_lv_obj_t</a> <code class="sig-name descname">lv_obj_t</code><a class="headerlink" href="#_CPPv48lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp type">
<dt id="_CPPv412lv_protect_t">
<span id="_CPPv312lv_protect_t"></span><span id="_CPPv212lv_protect_t"></span><span id="lv_protect_t"></span><span class="target" id="lv__obj_8h_1ab4260358010f1488a9993f9cde2cb7c7"></span><em class="property">typedef </em>uint8_t <code class="sig-name descname">lv_protect_t</code><a class="headerlink" href="#_CPPv412lv_protect_t" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

</div>
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Enums</p>
<dl class="cpp enum">
<dt id="_CPPv4Ut1_2">
<span id="_CPPv3Ut1_2"></span><span class="target" id="lv__obj_8h_1a99fb83031ce9923c84392b4e92f956b5"></span><em class="property">enum </em><strong>[anonymous]</strong><a class="headerlink" href="#_CPPv4Ut1_2" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Design modes </p>
<p><em>Values:</em></p>
<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_219LV_DESIGN_DRAW_MAINE">
<span id="_CPPv3NUt1_219LV_DESIGN_DRAW_MAINE"></span><span class="target" id="lv__obj_8h_1a99fb83031ce9923c84392b4e92f956b5a1f3afabd4deede77515858ad0308728c"></span><em class="property">enumerator </em><code class="sig-name descname">LV_DESIGN_DRAW_MAIN</code><a class="headerlink" href="#_CPPv4NUt1_219LV_DESIGN_DRAW_MAINE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Draw the main portion of the object </p>
</dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_219LV_DESIGN_DRAW_POSTE">
<span id="_CPPv3NUt1_219LV_DESIGN_DRAW_POSTE"></span><span class="target" id="lv__obj_8h_1a99fb83031ce9923c84392b4e92f956b5a52e693710212c03f55ec0dd3927f1d2e"></span><em class="property">enumerator </em><code class="sig-name descname">LV_DESIGN_DRAW_POST</code><a class="headerlink" href="#_CPPv4NUt1_219LV_DESIGN_DRAW_POSTE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Draw extras on the object </p>
</dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_219LV_DESIGN_COVER_CHKE">
<span id="_CPPv3NUt1_219LV_DESIGN_COVER_CHKE"></span><span class="target" id="lv__obj_8h_1a99fb83031ce9923c84392b4e92f956b5a48e3eef6dffe9314f142ac9b38752c40"></span><em class="property">enumerator </em><code class="sig-name descname">LV_DESIGN_COVER_CHK</code><a class="headerlink" href="#_CPPv4NUt1_219LV_DESIGN_COVER_CHKE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Check if the object fully covers the ‘mask_p’ area </p>
</dd></dl>

</dd></dl>

<dl class="cpp enum">
<dt id="_CPPv4Ut1_3">
<span id="_CPPv3Ut1_3"></span><span class="target" id="lv__obj_8h_1abc6126af1d45847bc59afa0aa3216b04"></span><em class="property">enum </em><strong>[anonymous]</strong><a class="headerlink" href="#_CPPv4Ut1_3" title="Permalink to this definition">¶</a><br /></dt>
<dd><p><em>Values:</em></p>
<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_316LV_EVENT_PRESSEDE">
<span id="_CPPv3NUt1_316LV_EVENT_PRESSEDE"></span><span class="target" id="lv__obj_8h_1abc6126af1d45847bc59afa0aa3216b04a85e0d9a885dadabf175b273bd44c93ba"></span><em class="property">enumerator </em><code class="sig-name descname">LV_EVENT_PRESSED</code><a class="headerlink" href="#_CPPv4NUt1_316LV_EVENT_PRESSEDE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>The object has been pressed </p>
</dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_317LV_EVENT_PRESSINGE">
<span id="_CPPv3NUt1_317LV_EVENT_PRESSINGE"></span><span class="target" id="lv__obj_8h_1abc6126af1d45847bc59afa0aa3216b04a560856c6e0eccbbff88521dbd740c64c"></span><em class="property">enumerator </em><code class="sig-name descname">LV_EVENT_PRESSING</code><a class="headerlink" href="#_CPPv4NUt1_317LV_EVENT_PRESSINGE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>The object is being pressed (called continuously while pressing) </p>
</dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_319LV_EVENT_PRESS_LOSTE">
<span id="_CPPv3NUt1_319LV_EVENT_PRESS_LOSTE"></span><span class="target" id="lv__obj_8h_1abc6126af1d45847bc59afa0aa3216b04a8c4e44f04b065ecd5bb5b858d02b01fc"></span><em class="property">enumerator </em><code class="sig-name descname">LV_EVENT_PRESS_LOST</code><a class="headerlink" href="#_CPPv4NUt1_319LV_EVENT_PRESS_LOSTE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>User is still pressing but slid cursor/finger off of the object </p>
</dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_322LV_EVENT_SHORT_CLICKEDE">
<span id="_CPPv3NUt1_322LV_EVENT_SHORT_CLICKEDE"></span><span class="target" id="lv__obj_8h_1abc6126af1d45847bc59afa0aa3216b04af40c18f3713f9fd7a2b3a86bbe0ce91d"></span><em class="property">enumerator </em><code class="sig-name descname">LV_EVENT_SHORT_CLICKED</code><a class="headerlink" href="#_CPPv4NUt1_322LV_EVENT_SHORT_CLICKEDE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>User pressed object for a short period of time, then released it. Not called if dragged. </p>
</dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_321LV_EVENT_LONG_PRESSEDE">
<span id="_CPPv3NUt1_321LV_EVENT_LONG_PRESSEDE"></span><span class="target" id="lv__obj_8h_1abc6126af1d45847bc59afa0aa3216b04aa7aa6dc2a228e74fc21f3044e874ff84"></span><em class="property">enumerator </em><code class="sig-name descname">LV_EVENT_LONG_PRESSED</code><a class="headerlink" href="#_CPPv4NUt1_321LV_EVENT_LONG_PRESSEDE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Object has been pressed for at least <code class="docutils literal notranslate"><span class="pre">LV_INDEV_LONG_PRESS_TIME</span></code>. Not called if dragged. </p>
</dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_328LV_EVENT_LONG_PRESSED_REPEATE">
<span id="_CPPv3NUt1_328LV_EVENT_LONG_PRESSED_REPEATE"></span><span class="target" id="lv__obj_8h_1abc6126af1d45847bc59afa0aa3216b04af75268f7d57e4d698a5cd4399378dc4b"></span><em class="property">enumerator </em><code class="sig-name descname">LV_EVENT_LONG_PRESSED_REPEAT</code><a class="headerlink" href="#_CPPv4NUt1_328LV_EVENT_LONG_PRESSED_REPEATE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Called after <code class="docutils literal notranslate"><span class="pre">LV_INDEV_LONG_PRESS_TIME</span></code> in every <code class="docutils literal notranslate"><span class="pre">LV_INDEV_LONG_PRESS_REP_TIME</span></code> ms. Not called if dragged. </p>
</dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_316LV_EVENT_CLICKEDE">
<span id="_CPPv3NUt1_316LV_EVENT_CLICKEDE"></span><span class="target" id="lv__obj_8h_1abc6126af1d45847bc59afa0aa3216b04aa02bc86fc8e7a7edab3634a816c19ab6"></span><em class="property">enumerator </em><code class="sig-name descname">LV_EVENT_CLICKED</code><a class="headerlink" href="#_CPPv4NUt1_316LV_EVENT_CLICKEDE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Called on release if not dragged (regardless to long press) </p>
</dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_317LV_EVENT_RELEASEDE">
<span id="_CPPv3NUt1_317LV_EVENT_RELEASEDE"></span><span class="target" id="lv__obj_8h_1abc6126af1d45847bc59afa0aa3216b04a57be5704cf368a6ae442eb3642b52d4b"></span><em class="property">enumerator </em><code class="sig-name descname">LV_EVENT_RELEASED</code><a class="headerlink" href="#_CPPv4NUt1_317LV_EVENT_RELEASEDE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Called in every cases when the object has been released </p>
</dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_319LV_EVENT_DRAG_BEGINE">
<span id="_CPPv3NUt1_319LV_EVENT_DRAG_BEGINE"></span><span class="target" id="lv__obj_8h_1abc6126af1d45847bc59afa0aa3216b04a0ca8de364952c66f5c199cecafedc26c"></span><em class="property">enumerator </em><code class="sig-name descname">LV_EVENT_DRAG_BEGIN</code><a class="headerlink" href="#_CPPv4NUt1_319LV_EVENT_DRAG_BEGINE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_317LV_EVENT_DRAG_ENDE">
<span id="_CPPv3NUt1_317LV_EVENT_DRAG_ENDE"></span><span class="target" id="lv__obj_8h_1abc6126af1d45847bc59afa0aa3216b04a2925bf346c44b6d8d9aeb75469d102a0"></span><em class="property">enumerator </em><code class="sig-name descname">LV_EVENT_DRAG_END</code><a class="headerlink" href="#_CPPv4NUt1_317LV_EVENT_DRAG_ENDE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_325LV_EVENT_DRAG_THROW_BEGINE">
<span id="_CPPv3NUt1_325LV_EVENT_DRAG_THROW_BEGINE"></span><span class="target" id="lv__obj_8h_1abc6126af1d45847bc59afa0aa3216b04af0b9a3f95ca8e3e49251fd1052cdd4f8"></span><em class="property">enumerator </em><code class="sig-name descname">LV_EVENT_DRAG_THROW_BEGIN</code><a class="headerlink" href="#_CPPv4NUt1_325LV_EVENT_DRAG_THROW_BEGINE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_312LV_EVENT_KEYE">
<span id="_CPPv3NUt1_312LV_EVENT_KEYE"></span><span class="target" id="lv__obj_8h_1abc6126af1d45847bc59afa0aa3216b04a26e32d4cfa8793473e2050455ad157eb"></span><em class="property">enumerator </em><code class="sig-name descname">LV_EVENT_KEY</code><a class="headerlink" href="#_CPPv4NUt1_312LV_EVENT_KEYE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_316LV_EVENT_FOCUSEDE">
<span id="_CPPv3NUt1_316LV_EVENT_FOCUSEDE"></span><span class="target" id="lv__obj_8h_1abc6126af1d45847bc59afa0aa3216b04aa36d2b7aa8cfa92719266858018c274b"></span><em class="property">enumerator </em><code class="sig-name descname">LV_EVENT_FOCUSED</code><a class="headerlink" href="#_CPPv4NUt1_316LV_EVENT_FOCUSEDE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_318LV_EVENT_DEFOCUSEDE">
<span id="_CPPv3NUt1_318LV_EVENT_DEFOCUSEDE"></span><span class="target" id="lv__obj_8h_1abc6126af1d45847bc59afa0aa3216b04a6268513bd9ad2b5703e394f46f18e4de"></span><em class="property">enumerator </em><code class="sig-name descname">LV_EVENT_DEFOCUSED</code><a class="headerlink" href="#_CPPv4NUt1_318LV_EVENT_DEFOCUSEDE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_322LV_EVENT_VALUE_CHANGEDE">
<span id="_CPPv3NUt1_322LV_EVENT_VALUE_CHANGEDE"></span><span class="target" id="lv__obj_8h_1abc6126af1d45847bc59afa0aa3216b04a46740aecc431a95080e7ebd9aca815e3"></span><em class="property">enumerator </em><code class="sig-name descname">LV_EVENT_VALUE_CHANGED</code><a class="headerlink" href="#_CPPv4NUt1_322LV_EVENT_VALUE_CHANGEDE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>The object’s value has changed (i.e. slider moved) </p>
</dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_315LV_EVENT_INSERTE">
<span id="_CPPv3NUt1_315LV_EVENT_INSERTE"></span><span class="target" id="lv__obj_8h_1abc6126af1d45847bc59afa0aa3216b04a93a020762c350c40285c900c49074ebe"></span><em class="property">enumerator </em><code class="sig-name descname">LV_EVENT_INSERT</code><a class="headerlink" href="#_CPPv4NUt1_315LV_EVENT_INSERTE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_316LV_EVENT_REFRESHE">
<span id="_CPPv3NUt1_316LV_EVENT_REFRESHE"></span><span class="target" id="lv__obj_8h_1abc6126af1d45847bc59afa0aa3216b04a5c6d081b794d09ebe3e098d7d12cec25"></span><em class="property">enumerator </em><code class="sig-name descname">LV_EVENT_REFRESH</code><a class="headerlink" href="#_CPPv4NUt1_316LV_EVENT_REFRESHE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_314LV_EVENT_APPLYE">
<span id="_CPPv3NUt1_314LV_EVENT_APPLYE"></span><span class="target" id="lv__obj_8h_1abc6126af1d45847bc59afa0aa3216b04a7df0cf4bd306549bead4a83ea2cb49d2"></span><em class="property">enumerator </em><code class="sig-name descname">LV_EVENT_APPLY</code><a class="headerlink" href="#_CPPv4NUt1_314LV_EVENT_APPLYE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>“Ok”, “Apply” or similar specific button has clicked </p>
</dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_315LV_EVENT_CANCELE">
<span id="_CPPv3NUt1_315LV_EVENT_CANCELE"></span><span class="target" id="lv__obj_8h_1abc6126af1d45847bc59afa0aa3216b04afbc2a898addfb4bc699b9f7a4f66150d"></span><em class="property">enumerator </em><code class="sig-name descname">LV_EVENT_CANCEL</code><a class="headerlink" href="#_CPPv4NUt1_315LV_EVENT_CANCELE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>“Close”, “Cancel” or similar specific button has clicked </p>
</dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_315LV_EVENT_DELETEE">
<span id="_CPPv3NUt1_315LV_EVENT_DELETEE"></span><span class="target" id="lv__obj_8h_1abc6126af1d45847bc59afa0aa3216b04a2b6e10a27dd52c80f3ed04e4bc3ced2b"></span><em class="property">enumerator </em><code class="sig-name descname">LV_EVENT_DELETE</code><a class="headerlink" href="#_CPPv4NUt1_315LV_EVENT_DELETEE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Object is being deleted </p>
</dd></dl>

</dd></dl>

<dl class="cpp enum">
<dt id="_CPPv4Ut1_4">
<span id="_CPPv3Ut1_4"></span><span class="target" id="lv__obj_8h_1adc29c2ff13d900c2f185ee95427fb06c"></span><em class="property">enum </em><strong>[anonymous]</strong><a class="headerlink" href="#_CPPv4Ut1_4" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Signals are for use by the object itself or to extend the object’s functionality. Applications should use <a class="reference internal" href="#lv__obj_8h_1a16c2f9020fcde51036b3e319b6217203"><span class="std std-ref">lv_obj_set_event_cb</span></a> to be notified of events that occur on the object. </p>
<p><em>Values:</em></p>
<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_417LV_SIGNAL_CLEANUPE">
<span id="_CPPv3NUt1_417LV_SIGNAL_CLEANUPE"></span><span class="target" id="lv__obj_8h_1adc29c2ff13d900c2f185ee95427fb06cadbc2556344c61af73876d1119e16ed39"></span><em class="property">enumerator </em><code class="sig-name descname">LV_SIGNAL_CLEANUP</code><a class="headerlink" href="#_CPPv4NUt1_417LV_SIGNAL_CLEANUPE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Object is being deleted </p>
</dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_419LV_SIGNAL_CHILD_CHGE">
<span id="_CPPv3NUt1_419LV_SIGNAL_CHILD_CHGE"></span><span class="target" id="lv__obj_8h_1adc29c2ff13d900c2f185ee95427fb06ca7431d188c928d451bb7d9d9d874a3c25"></span><em class="property">enumerator </em><code class="sig-name descname">LV_SIGNAL_CHILD_CHG</code><a class="headerlink" href="#_CPPv4NUt1_419LV_SIGNAL_CHILD_CHGE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Child was removed/added </p>
</dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_418LV_SIGNAL_CORD_CHGE">
<span id="_CPPv3NUt1_418LV_SIGNAL_CORD_CHGE"></span><span class="target" id="lv__obj_8h_1adc29c2ff13d900c2f185ee95427fb06ca4b82ebea8cc0f9be638fbd1ffa802884"></span><em class="property">enumerator </em><code class="sig-name descname">LV_SIGNAL_CORD_CHG</code><a class="headerlink" href="#_CPPv4NUt1_418LV_SIGNAL_CORD_CHGE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Object coordinates/size have changed </p>
</dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_425LV_SIGNAL_PARENT_SIZE_CHGE">
<span id="_CPPv3NUt1_425LV_SIGNAL_PARENT_SIZE_CHGE"></span><span class="target" id="lv__obj_8h_1adc29c2ff13d900c2f185ee95427fb06ca7ed449098cd77353608f1574a01e0f88"></span><em class="property">enumerator </em><code class="sig-name descname">LV_SIGNAL_PARENT_SIZE_CHG</code><a class="headerlink" href="#_CPPv4NUt1_425LV_SIGNAL_PARENT_SIZE_CHGE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Parent’s size has changed </p>
</dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_419LV_SIGNAL_STYLE_CHGE">
<span id="_CPPv3NUt1_419LV_SIGNAL_STYLE_CHGE"></span><span class="target" id="lv__obj_8h_1adc29c2ff13d900c2f185ee95427fb06cad63b9c7fd5fef5aadb7fc36b5801f22a"></span><em class="property">enumerator </em><code class="sig-name descname">LV_SIGNAL_STYLE_CHG</code><a class="headerlink" href="#_CPPv4NUt1_419LV_SIGNAL_STYLE_CHGE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Object’s style has changed </p>
</dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_422LV_SIGNAL_BASE_DIR_CHGE">
<span id="_CPPv3NUt1_422LV_SIGNAL_BASE_DIR_CHGE"></span><span class="target" id="lv__obj_8h_1adc29c2ff13d900c2f185ee95427fb06ca0309e2b76baf4685660bd8c6f84f1b15"></span><em class="property">enumerator </em><code class="sig-name descname">LV_SIGNAL_BASE_DIR_CHG</code><a class="headerlink" href="#_CPPv4NUt1_422LV_SIGNAL_BASE_DIR_CHGE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>The base dir has changed </p>
</dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_427LV_SIGNAL_REFR_EXT_DRAW_PADE">
<span id="_CPPv3NUt1_427LV_SIGNAL_REFR_EXT_DRAW_PADE"></span><span class="target" id="lv__obj_8h_1adc29c2ff13d900c2f185ee95427fb06ca2d83e1e99c8e778911f5bcbf94722c08"></span><em class="property">enumerator </em><code class="sig-name descname">LV_SIGNAL_REFR_EXT_DRAW_PAD</code><a class="headerlink" href="#_CPPv4NUt1_427LV_SIGNAL_REFR_EXT_DRAW_PADE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Object’s extra padding has changed </p>
</dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_418LV_SIGNAL_GET_TYPEE">
<span id="_CPPv3NUt1_418LV_SIGNAL_GET_TYPEE"></span><span class="target" id="lv__obj_8h_1adc29c2ff13d900c2f185ee95427fb06caa34afa204372de2536c237cf3ef9f706"></span><em class="property">enumerator </em><code class="sig-name descname">LV_SIGNAL_GET_TYPE</code><a class="headerlink" href="#_CPPv4NUt1_418LV_SIGNAL_GET_TYPEE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>LittlevGL needs to retrieve the object’s type </p>
</dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_417LV_SIGNAL_PRESSEDE">
<span id="_CPPv3NUt1_417LV_SIGNAL_PRESSEDE"></span><span class="target" id="lv__obj_8h_1adc29c2ff13d900c2f185ee95427fb06ca9b8e8b61f251c07a4c23b11433d057bc"></span><em class="property">enumerator </em><code class="sig-name descname">LV_SIGNAL_PRESSED</code><a class="headerlink" href="#_CPPv4NUt1_417LV_SIGNAL_PRESSEDE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>The object has been pressed </p>
</dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_418LV_SIGNAL_PRESSINGE">
<span id="_CPPv3NUt1_418LV_SIGNAL_PRESSINGE"></span><span class="target" id="lv__obj_8h_1adc29c2ff13d900c2f185ee95427fb06caf0da634720521b34abe41aaa384626de"></span><em class="property">enumerator </em><code class="sig-name descname">LV_SIGNAL_PRESSING</code><a class="headerlink" href="#_CPPv4NUt1_418LV_SIGNAL_PRESSINGE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>The object is being pressed (called continuously while pressing) </p>
</dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_420LV_SIGNAL_PRESS_LOSTE">
<span id="_CPPv3NUt1_420LV_SIGNAL_PRESS_LOSTE"></span><span class="target" id="lv__obj_8h_1adc29c2ff13d900c2f185ee95427fb06ca9055a5dd2dc8415ae8d9757689f38693"></span><em class="property">enumerator </em><code class="sig-name descname">LV_SIGNAL_PRESS_LOST</code><a class="headerlink" href="#_CPPv4NUt1_420LV_SIGNAL_PRESS_LOSTE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>User is still pressing but slid cursor/finger off of the object </p>
</dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_418LV_SIGNAL_RELEASEDE">
<span id="_CPPv3NUt1_418LV_SIGNAL_RELEASEDE"></span><span class="target" id="lv__obj_8h_1adc29c2ff13d900c2f185ee95427fb06ca8f500f5ed0bab006bc365e67496ac30f"></span><em class="property">enumerator </em><code class="sig-name descname">LV_SIGNAL_RELEASED</code><a class="headerlink" href="#_CPPv4NUt1_418LV_SIGNAL_RELEASEDE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>User pressed object for a short period of time, then released it. Not called if dragged. </p>
</dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_420LV_SIGNAL_LONG_PRESSE">
<span id="_CPPv3NUt1_420LV_SIGNAL_LONG_PRESSE"></span><span class="target" id="lv__obj_8h_1adc29c2ff13d900c2f185ee95427fb06ca2d9e0caa05c29ce6c319bb5bca8fae26"></span><em class="property">enumerator </em><code class="sig-name descname">LV_SIGNAL_LONG_PRESS</code><a class="headerlink" href="#_CPPv4NUt1_420LV_SIGNAL_LONG_PRESSE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Object has been pressed for at least <code class="docutils literal notranslate"><span class="pre">LV_INDEV_LONG_PRESS_TIME</span></code>. Not called if dragged. </p>
</dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_424LV_SIGNAL_LONG_PRESS_REPE">
<span id="_CPPv3NUt1_424LV_SIGNAL_LONG_PRESS_REPE"></span><span class="target" id="lv__obj_8h_1adc29c2ff13d900c2f185ee95427fb06ca103008d084ba8829b6bf76670251e465"></span><em class="property">enumerator </em><code class="sig-name descname">LV_SIGNAL_LONG_PRESS_REP</code><a class="headerlink" href="#_CPPv4NUt1_424LV_SIGNAL_LONG_PRESS_REPE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Called after <code class="docutils literal notranslate"><span class="pre">LV_INDEV_LONG_PRESS_TIME</span></code> in every <code class="docutils literal notranslate"><span class="pre">LV_INDEV_LONG_PRESS_REP_TIME</span></code> ms. Not called if dragged. </p>
</dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_420LV_SIGNAL_DRAG_BEGINE">
<span id="_CPPv3NUt1_420LV_SIGNAL_DRAG_BEGINE"></span><span class="target" id="lv__obj_8h_1adc29c2ff13d900c2f185ee95427fb06ca7d87c5ce73ffe6630dc2730bf5177d0c"></span><em class="property">enumerator </em><code class="sig-name descname">LV_SIGNAL_DRAG_BEGIN</code><a class="headerlink" href="#_CPPv4NUt1_420LV_SIGNAL_DRAG_BEGINE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_418LV_SIGNAL_DRAG_ENDE">
<span id="_CPPv3NUt1_418LV_SIGNAL_DRAG_ENDE"></span><span class="target" id="lv__obj_8h_1adc29c2ff13d900c2f185ee95427fb06ca9060fe3f8d3ad44ee493ad7fa1e824df"></span><em class="property">enumerator </em><code class="sig-name descname">LV_SIGNAL_DRAG_END</code><a class="headerlink" href="#_CPPv4NUt1_418LV_SIGNAL_DRAG_ENDE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_415LV_SIGNAL_FOCUSE">
<span id="_CPPv3NUt1_415LV_SIGNAL_FOCUSE"></span><span class="target" id="lv__obj_8h_1adc29c2ff13d900c2f185ee95427fb06caa403d9c7bf7cc4639aed8e73c7942f8f"></span><em class="property">enumerator </em><code class="sig-name descname">LV_SIGNAL_FOCUS</code><a class="headerlink" href="#_CPPv4NUt1_415LV_SIGNAL_FOCUSE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_417LV_SIGNAL_DEFOCUSE">
<span id="_CPPv3NUt1_417LV_SIGNAL_DEFOCUSE"></span><span class="target" id="lv__obj_8h_1adc29c2ff13d900c2f185ee95427fb06ca1624b8a95d354e7eee11204743b4c38c"></span><em class="property">enumerator </em><code class="sig-name descname">LV_SIGNAL_DEFOCUS</code><a class="headerlink" href="#_CPPv4NUt1_417LV_SIGNAL_DEFOCUSE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_417LV_SIGNAL_CONTROLE">
<span id="_CPPv3NUt1_417LV_SIGNAL_CONTROLE"></span><span class="target" id="lv__obj_8h_1adc29c2ff13d900c2f185ee95427fb06caa5bf3b5124b7925f587025316f398995"></span><em class="property">enumerator </em><code class="sig-name descname">LV_SIGNAL_CONTROL</code><a class="headerlink" href="#_CPPv4NUt1_417LV_SIGNAL_CONTROLE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_422LV_SIGNAL_GET_EDITABLEE">
<span id="_CPPv3NUt1_422LV_SIGNAL_GET_EDITABLEE"></span><span class="target" id="lv__obj_8h_1adc29c2ff13d900c2f185ee95427fb06ca26e3183d5c30d2345b36dbc86cd4afea"></span><em class="property">enumerator </em><code class="sig-name descname">LV_SIGNAL_GET_EDITABLE</code><a class="headerlink" href="#_CPPv4NUt1_422LV_SIGNAL_GET_EDITABLEE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

</dd></dl>

<dl class="cpp enum">
<dt id="_CPPv4Ut1_5">
<span id="_CPPv3Ut1_5"></span><span class="target" id="lv__obj_8h_1a61dadd085c1777f559549e05962b2c9e"></span><em class="property">enum </em><strong>[anonymous]</strong><a class="headerlink" href="#_CPPv4Ut1_5" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Object alignment. </p>
<p><em>Values:</em></p>
<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_515LV_ALIGN_CENTERE">
<span id="_CPPv3NUt1_515LV_ALIGN_CENTERE"></span><span class="target" id="lv__obj_8h_1a61dadd085c1777f559549e05962b2c9ea20123fd9c5a65eab77c01ccedc25ae20"></span><em class="property">enumerator </em><code class="sig-name descname">LV_ALIGN_CENTER</code> = 0<a class="headerlink" href="#_CPPv4NUt1_515LV_ALIGN_CENTERE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_520LV_ALIGN_IN_TOP_LEFTE">
<span id="_CPPv3NUt1_520LV_ALIGN_IN_TOP_LEFTE"></span><span class="target" id="lv__obj_8h_1a61dadd085c1777f559549e05962b2c9eab9420fe81a3a7f6b0768cccd8915402b"></span><em class="property">enumerator </em><code class="sig-name descname">LV_ALIGN_IN_TOP_LEFT</code><a class="headerlink" href="#_CPPv4NUt1_520LV_ALIGN_IN_TOP_LEFTE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_519LV_ALIGN_IN_TOP_MIDE">
<span id="_CPPv3NUt1_519LV_ALIGN_IN_TOP_MIDE"></span><span class="target" id="lv__obj_8h_1a61dadd085c1777f559549e05962b2c9ea78e9b88d8aab195eb01b741480863cd3"></span><em class="property">enumerator </em><code class="sig-name descname">LV_ALIGN_IN_TOP_MID</code><a class="headerlink" href="#_CPPv4NUt1_519LV_ALIGN_IN_TOP_MIDE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_521LV_ALIGN_IN_TOP_RIGHTE">
<span id="_CPPv3NUt1_521LV_ALIGN_IN_TOP_RIGHTE"></span><span class="target" id="lv__obj_8h_1a61dadd085c1777f559549e05962b2c9ea6d228de773e87e252d2f45c64696352f"></span><em class="property">enumerator </em><code class="sig-name descname">LV_ALIGN_IN_TOP_RIGHT</code><a class="headerlink" href="#_CPPv4NUt1_521LV_ALIGN_IN_TOP_RIGHTE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_523LV_ALIGN_IN_BOTTOM_LEFTE">
<span id="_CPPv3NUt1_523LV_ALIGN_IN_BOTTOM_LEFTE"></span><span class="target" id="lv__obj_8h_1a61dadd085c1777f559549e05962b2c9ea4acd2b205d177d8825353d0ff0add5fe"></span><em class="property">enumerator </em><code class="sig-name descname">LV_ALIGN_IN_BOTTOM_LEFT</code><a class="headerlink" href="#_CPPv4NUt1_523LV_ALIGN_IN_BOTTOM_LEFTE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_522LV_ALIGN_IN_BOTTOM_MIDE">
<span id="_CPPv3NUt1_522LV_ALIGN_IN_BOTTOM_MIDE"></span><span class="target" id="lv__obj_8h_1a61dadd085c1777f559549e05962b2c9eaf02682b8adef61c0dfedb4a0ec20daf3"></span><em class="property">enumerator </em><code class="sig-name descname">LV_ALIGN_IN_BOTTOM_MID</code><a class="headerlink" href="#_CPPv4NUt1_522LV_ALIGN_IN_BOTTOM_MIDE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_524LV_ALIGN_IN_BOTTOM_RIGHTE">
<span id="_CPPv3NUt1_524LV_ALIGN_IN_BOTTOM_RIGHTE"></span><span class="target" id="lv__obj_8h_1a61dadd085c1777f559549e05962b2c9ea6476b0cdad7cd3abbfe1e8a417057058"></span><em class="property">enumerator </em><code class="sig-name descname">LV_ALIGN_IN_BOTTOM_RIGHT</code><a class="headerlink" href="#_CPPv4NUt1_524LV_ALIGN_IN_BOTTOM_RIGHTE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_520LV_ALIGN_IN_LEFT_MIDE">
<span id="_CPPv3NUt1_520LV_ALIGN_IN_LEFT_MIDE"></span><span class="target" id="lv__obj_8h_1a61dadd085c1777f559549e05962b2c9ea1d6c48905a9f5e1d9090abba39167cb2"></span><em class="property">enumerator </em><code class="sig-name descname">LV_ALIGN_IN_LEFT_MID</code><a class="headerlink" href="#_CPPv4NUt1_520LV_ALIGN_IN_LEFT_MIDE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_521LV_ALIGN_IN_RIGHT_MIDE">
<span id="_CPPv3NUt1_521LV_ALIGN_IN_RIGHT_MIDE"></span><span class="target" id="lv__obj_8h_1a61dadd085c1777f559549e05962b2c9eacf93cdd8617c664e44141adbe36a737a"></span><em class="property">enumerator </em><code class="sig-name descname">LV_ALIGN_IN_RIGHT_MID</code><a class="headerlink" href="#_CPPv4NUt1_521LV_ALIGN_IN_RIGHT_MIDE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_521LV_ALIGN_OUT_TOP_LEFTE">
<span id="_CPPv3NUt1_521LV_ALIGN_OUT_TOP_LEFTE"></span><span class="target" id="lv__obj_8h_1a61dadd085c1777f559549e05962b2c9eac0ece5fa2d6519aba4d45d13daf28979"></span><em class="property">enumerator </em><code class="sig-name descname">LV_ALIGN_OUT_TOP_LEFT</code><a class="headerlink" href="#_CPPv4NUt1_521LV_ALIGN_OUT_TOP_LEFTE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_520LV_ALIGN_OUT_TOP_MIDE">
<span id="_CPPv3NUt1_520LV_ALIGN_OUT_TOP_MIDE"></span><span class="target" id="lv__obj_8h_1a61dadd085c1777f559549e05962b2c9eaa777bf29c22b0a10af907fcedddf77f0"></span><em class="property">enumerator </em><code class="sig-name descname">LV_ALIGN_OUT_TOP_MID</code><a class="headerlink" href="#_CPPv4NUt1_520LV_ALIGN_OUT_TOP_MIDE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_522LV_ALIGN_OUT_TOP_RIGHTE">
<span id="_CPPv3NUt1_522LV_ALIGN_OUT_TOP_RIGHTE"></span><span class="target" id="lv__obj_8h_1a61dadd085c1777f559549e05962b2c9eaa8b0610a86bfea2446733b39e99b9b42"></span><em class="property">enumerator </em><code class="sig-name descname">LV_ALIGN_OUT_TOP_RIGHT</code><a class="headerlink" href="#_CPPv4NUt1_522LV_ALIGN_OUT_TOP_RIGHTE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_524LV_ALIGN_OUT_BOTTOM_LEFTE">
<span id="_CPPv3NUt1_524LV_ALIGN_OUT_BOTTOM_LEFTE"></span><span class="target" id="lv__obj_8h_1a61dadd085c1777f559549e05962b2c9ea6d5090a41e5c7502a121d4cefd00201e"></span><em class="property">enumerator </em><code class="sig-name descname">LV_ALIGN_OUT_BOTTOM_LEFT</code><a class="headerlink" href="#_CPPv4NUt1_524LV_ALIGN_OUT_BOTTOM_LEFTE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_523LV_ALIGN_OUT_BOTTOM_MIDE">
<span id="_CPPv3NUt1_523LV_ALIGN_OUT_BOTTOM_MIDE"></span><span class="target" id="lv__obj_8h_1a61dadd085c1777f559549e05962b2c9ea5187fe814b2e899f5ccc1ecbe35c8594"></span><em class="property">enumerator </em><code class="sig-name descname">LV_ALIGN_OUT_BOTTOM_MID</code><a class="headerlink" href="#_CPPv4NUt1_523LV_ALIGN_OUT_BOTTOM_MIDE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_525LV_ALIGN_OUT_BOTTOM_RIGHTE">
<span id="_CPPv3NUt1_525LV_ALIGN_OUT_BOTTOM_RIGHTE"></span><span class="target" id="lv__obj_8h_1a61dadd085c1777f559549e05962b2c9ea6dbce5fa907703b5aae46bcd88be0413"></span><em class="property">enumerator </em><code class="sig-name descname">LV_ALIGN_OUT_BOTTOM_RIGHT</code><a class="headerlink" href="#_CPPv4NUt1_525LV_ALIGN_OUT_BOTTOM_RIGHTE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_521LV_ALIGN_OUT_LEFT_TOPE">
<span id="_CPPv3NUt1_521LV_ALIGN_OUT_LEFT_TOPE"></span><span class="target" id="lv__obj_8h_1a61dadd085c1777f559549e05962b2c9ea0e1268aa57ae0bce02ce9930ff757885"></span><em class="property">enumerator </em><code class="sig-name descname">LV_ALIGN_OUT_LEFT_TOP</code><a class="headerlink" href="#_CPPv4NUt1_521LV_ALIGN_OUT_LEFT_TOPE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_521LV_ALIGN_OUT_LEFT_MIDE">
<span id="_CPPv3NUt1_521LV_ALIGN_OUT_LEFT_MIDE"></span><span class="target" id="lv__obj_8h_1a61dadd085c1777f559549e05962b2c9ea331b85b8ca2bd77dbfad3985d26fd17f"></span><em class="property">enumerator </em><code class="sig-name descname">LV_ALIGN_OUT_LEFT_MID</code><a class="headerlink" href="#_CPPv4NUt1_521LV_ALIGN_OUT_LEFT_MIDE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_524LV_ALIGN_OUT_LEFT_BOTTOME">
<span id="_CPPv3NUt1_524LV_ALIGN_OUT_LEFT_BOTTOME"></span><span class="target" id="lv__obj_8h_1a61dadd085c1777f559549e05962b2c9ea5307ef599c41f1fa5a5dc7d8716b9d3c"></span><em class="property">enumerator </em><code class="sig-name descname">LV_ALIGN_OUT_LEFT_BOTTOM</code><a class="headerlink" href="#_CPPv4NUt1_524LV_ALIGN_OUT_LEFT_BOTTOME" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_522LV_ALIGN_OUT_RIGHT_TOPE">
<span id="_CPPv3NUt1_522LV_ALIGN_OUT_RIGHT_TOPE"></span><span class="target" id="lv__obj_8h_1a61dadd085c1777f559549e05962b2c9eae73bd3ecce823d0b1a3f481fb5d07869"></span><em class="property">enumerator </em><code class="sig-name descname">LV_ALIGN_OUT_RIGHT_TOP</code><a class="headerlink" href="#_CPPv4NUt1_522LV_ALIGN_OUT_RIGHT_TOPE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_522LV_ALIGN_OUT_RIGHT_MIDE">
<span id="_CPPv3NUt1_522LV_ALIGN_OUT_RIGHT_MIDE"></span><span class="target" id="lv__obj_8h_1a61dadd085c1777f559549e05962b2c9eadcc0fb9fc2bdf9d7fc6484ed7c4cd7f0"></span><em class="property">enumerator </em><code class="sig-name descname">LV_ALIGN_OUT_RIGHT_MID</code><a class="headerlink" href="#_CPPv4NUt1_522LV_ALIGN_OUT_RIGHT_MIDE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_525LV_ALIGN_OUT_RIGHT_BOTTOME">
<span id="_CPPv3NUt1_525LV_ALIGN_OUT_RIGHT_BOTTOME"></span><span class="target" id="lv__obj_8h_1a61dadd085c1777f559549e05962b2c9eaf47dfe5e0426589e5b738d531a638ab6"></span><em class="property">enumerator </em><code class="sig-name descname">LV_ALIGN_OUT_RIGHT_BOTTOM</code><a class="headerlink" href="#_CPPv4NUt1_525LV_ALIGN_OUT_RIGHT_BOTTOME" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

</dd></dl>

<dl class="cpp enum">
<dt id="_CPPv4Ut1_6">
<span id="_CPPv3Ut1_6"></span><span class="target" id="lv__obj_8h_1a726ca809ffd3d67ab4b8476646f26635"></span><em class="property">enum </em><strong>[anonymous]</strong><a class="headerlink" href="#_CPPv4Ut1_6" title="Permalink to this definition">¶</a><br /></dt>
<dd><p><em>Values:</em></p>
<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_615LV_DRAG_DIR_HORE">
<span id="_CPPv3NUt1_615LV_DRAG_DIR_HORE"></span><span class="target" id="lv__obj_8h_1a726ca809ffd3d67ab4b8476646f26635ae0b46e24c4fd9eac39eaabbeebf3a3fe"></span><em class="property">enumerator </em><code class="sig-name descname">LV_DRAG_DIR_HOR</code> = 0x1<a class="headerlink" href="#_CPPv4NUt1_615LV_DRAG_DIR_HORE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Object can be dragged horizontally. </p>
</dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_615LV_DRAG_DIR_VERE">
<span id="_CPPv3NUt1_615LV_DRAG_DIR_VERE"></span><span class="target" id="lv__obj_8h_1a726ca809ffd3d67ab4b8476646f26635a0f1ce2dd8b51b54a701e40b651383210"></span><em class="property">enumerator </em><code class="sig-name descname">LV_DRAG_DIR_VER</code> = 0x2<a class="headerlink" href="#_CPPv4NUt1_615LV_DRAG_DIR_VERE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Object can be dragged vertically. </p>
</dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_615LV_DRAG_DIR_ALLE">
<span id="_CPPv3NUt1_615LV_DRAG_DIR_ALLE"></span><span class="target" id="lv__obj_8h_1a726ca809ffd3d67ab4b8476646f26635af376c46697e361974e005df19e188ae5"></span><em class="property">enumerator </em><code class="sig-name descname">LV_DRAG_DIR_ALL</code> = 0x3<a class="headerlink" href="#_CPPv4NUt1_615LV_DRAG_DIR_ALLE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Object can be dragged in all directions. </p>
</dd></dl>

</dd></dl>

<dl class="cpp enum">
<dt id="_CPPv4Ut1_7">
<span id="_CPPv3Ut1_7"></span><span class="target" id="lv__obj_8h_1a0411cd49bb5b71852cecd93bcbf0ca2d"></span><em class="property">enum </em><strong>[anonymous]</strong><a class="headerlink" href="#_CPPv4Ut1_7" title="Permalink to this definition">¶</a><br /></dt>
<dd><p><em>Values:</em></p>
<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_715LV_PROTECT_NONEE">
<span id="_CPPv3NUt1_715LV_PROTECT_NONEE"></span><span class="target" id="lv__obj_8h_1a0411cd49bb5b71852cecd93bcbf0ca2dae9d16e769844c2c4107dec15600c18b1"></span><em class="property">enumerator </em><code class="sig-name descname">LV_PROTECT_NONE</code> = 0x00<a class="headerlink" href="#_CPPv4NUt1_715LV_PROTECT_NONEE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_720LV_PROTECT_CHILD_CHGE">
<span id="_CPPv3NUt1_720LV_PROTECT_CHILD_CHGE"></span><span class="target" id="lv__obj_8h_1a0411cd49bb5b71852cecd93bcbf0ca2dad6905e1772856f1cee258aa080e3a2fb"></span><em class="property">enumerator </em><code class="sig-name descname">LV_PROTECT_CHILD_CHG</code> = 0x01<a class="headerlink" href="#_CPPv4NUt1_720LV_PROTECT_CHILD_CHGE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Disable the child change signal. Used by the library </p>
</dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_717LV_PROTECT_PARENTE">
<span id="_CPPv3NUt1_717LV_PROTECT_PARENTE"></span><span class="target" id="lv__obj_8h_1a0411cd49bb5b71852cecd93bcbf0ca2dabf71fbcdeebdc489d9ed7014f47860eb"></span><em class="property">enumerator </em><code class="sig-name descname">LV_PROTECT_PARENT</code> = 0x02<a class="headerlink" href="#_CPPv4NUt1_717LV_PROTECT_PARENTE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Prevent automatic parent change (e.g. in lv_page) </p>
</dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_714LV_PROTECT_POSE">
<span id="_CPPv3NUt1_714LV_PROTECT_POSE"></span><span class="target" id="lv__obj_8h_1a0411cd49bb5b71852cecd93bcbf0ca2dac605062bb3895bd55356d4520a9e8160"></span><em class="property">enumerator </em><code class="sig-name descname">LV_PROTECT_POS</code> = 0x04<a class="headerlink" href="#_CPPv4NUt1_714LV_PROTECT_POSE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Prevent automatic positioning (e.g. in lv_cont layout) </p>
</dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_717LV_PROTECT_FOLLOWE">
<span id="_CPPv3NUt1_717LV_PROTECT_FOLLOWE"></span><span class="target" id="lv__obj_8h_1a0411cd49bb5b71852cecd93bcbf0ca2da7b5c826d0974bcc4a78c420a92dca626"></span><em class="property">enumerator </em><code class="sig-name descname">LV_PROTECT_FOLLOW</code> = 0x08<a class="headerlink" href="#_CPPv4NUt1_717LV_PROTECT_FOLLOWE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Prevent the object be followed in automatic ordering (e.g. in lv_cont PRETTY layout) </p>
</dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_721LV_PROTECT_PRESS_LOSTE">
<span id="_CPPv3NUt1_721LV_PROTECT_PRESS_LOSTE"></span><span class="target" id="lv__obj_8h_1a0411cd49bb5b71852cecd93bcbf0ca2da56ece3ac8b436ca76e4aabf82b1e76b0"></span><em class="property">enumerator </em><code class="sig-name descname">LV_PROTECT_PRESS_LOST</code> = 0x10<a class="headerlink" href="#_CPPv4NUt1_721LV_PROTECT_PRESS_LOSTE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>If the <code class="docutils literal notranslate"><span class="pre">indev</span></code> was pressing this object but swiped out while pressing do not search other object. </p>
</dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt1_722LV_PROTECT_CLICK_FOCUSE">
<span id="_CPPv3NUt1_722LV_PROTECT_CLICK_FOCUSE"></span><span class="target" id="lv__obj_8h_1a0411cd49bb5b71852cecd93bcbf0ca2da3cbe02ea9019628d25cd9aef0ccf8296"></span><em class="property">enumerator </em><code class="sig-name descname">LV_PROTECT_CLICK_FOCUS</code> = 0x20<a class="headerlink" href="#_CPPv4NUt1_722LV_PROTECT_CLICK_FOCUSE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Prevent focusing the object by clicking on it </p>
</dd></dl>

</dd></dl>

</div>
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Functions</p>
<dl class="cpp function">
<dt id="_CPPv47lv_initv">
<span id="_CPPv37lv_initv"></span><span id="_CPPv27lv_initv"></span><span id="lv_init__void"></span><span class="target" id="lv__obj_8h_1a666fa58edac1e61856b2a00fe60308a0"></span>void <code class="sig-name descname">lv_init</code><span class="sig-paren">(</span>void<span class="sig-paren">)</span><a class="headerlink" href="#_CPPv47lv_initv" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Init. the ‘lv’ library. </p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv49lv_deinitv">
<span id="_CPPv39lv_deinitv"></span><span id="_CPPv29lv_deinitv"></span><span id="lv_deinit__void"></span><span class="target" id="lv__obj_8h_1a302a9934e9b77badac7f527b5116a156"></span>void <code class="sig-name descname">lv_deinit</code><span class="sig-paren">(</span>void<span class="sig-paren">)</span><a class="headerlink" href="#_CPPv49lv_deinitv" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Deinit the ‘lv’ library Currently only implemented when not using custorm allocators, or GC is enabled. </p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv413lv_obj_createP8lv_obj_tPK8lv_obj_t">
<span id="_CPPv313lv_obj_createP8lv_obj_tPK8lv_obj_t"></span><span id="_CPPv213lv_obj_createP8lv_obj_tPK8lv_obj_t"></span><span id="lv_obj_create__lv_obj_tP.lv_obj_tCP"></span><span class="target" id="lv__obj_8h_1af5b63647e5fc488f3a5fcdc755d9eb2a"></span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<code class="sig-name descname">lv_obj_create</code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>parent</em>, <em class="property">const</em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>copy</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv413lv_obj_createP8lv_obj_tPK8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Create a basic object <dl class="simple">
<dt><strong>Return</strong></dt><dd><p>pointer to the new object </p>
</dd>
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">parent</span></code>: pointer to a parent object. If NULL then a screen will be created </p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">copy</span></code>: pointer to a base object, if not NULL then the new object will be copied from it </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv410lv_obj_delP8lv_obj_t">
<span id="_CPPv310lv_obj_delP8lv_obj_t"></span><span id="_CPPv210lv_obj_delP8lv_obj_t"></span><span id="lv_obj_del__lv_obj_tP"></span><span class="target" id="lv__obj_8h_1a417b2917d719634f9aa8e00aa6e76301"></span>lv_res_t <code class="sig-name descname">lv_obj_del</code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>obj</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv410lv_obj_delP8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Delete ‘obj’ and all of its children <dl class="simple">
<dt><strong>Return</strong></dt><dd><p>LV_RES_INV because the object is deleted </p>
</dd>
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">obj</span></code>: pointer to an object to delete </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv416lv_obj_del_asyncP9_lv_obj_t">
<span id="_CPPv316lv_obj_del_asyncP9_lv_obj_t"></span><span id="_CPPv216lv_obj_del_asyncP9_lv_obj_t"></span><span id="lv_obj_del_async___lv_obj_tP"></span><span class="target" id="lv__obj_8h_1a0080923cccf80af7b1756b0e418db547"></span>void <code class="sig-name descname">lv_obj_del_async</code><span class="sig-paren">(</span><em class="property">struct</em> <a class="reference internal" href="#_CPPv49_lv_obj_t" title="_lv_obj_t">_lv_obj_t</a> *<em>obj</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv416lv_obj_del_asyncP9_lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Helper function for asynchronously deleting objects. Useful for cases where you can’t delete an object directly in an <code class="docutils literal notranslate"><span class="pre">LV_EVENT_DELETE</span></code> handler (i.e. parent). <dl class="simple">
<dt><strong>See</strong></dt><dd><p>lv_async_call </p>
</dd>
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">obj</span></code>: object to delete </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv412lv_obj_cleanP8lv_obj_t">
<span id="_CPPv312lv_obj_cleanP8lv_obj_t"></span><span id="_CPPv212lv_obj_cleanP8lv_obj_t"></span><span id="lv_obj_clean__lv_obj_tP"></span><span class="target" id="lv__obj_8h_1ab9e1d84b921e63d1da83fe711b214aea"></span>void <code class="sig-name descname">lv_obj_clean</code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>obj</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv412lv_obj_cleanP8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Delete all children of an object <dl class="simple">
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">obj</span></code>: pointer to an object </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv422lv_obj_invalidate_areaPK8lv_obj_tPK9lv_area_t">
<span id="_CPPv322lv_obj_invalidate_areaPK8lv_obj_tPK9lv_area_t"></span><span id="_CPPv222lv_obj_invalidate_areaPK8lv_obj_tPK9lv_area_t"></span><span id="lv_obj_invalidate_area__lv_obj_tCP.lv_area_tCP"></span><span class="target" id="lv__obj_8h_1a33a0a3c2c2861391f3b0e58cfe39914a"></span>void <code class="sig-name descname">lv_obj_invalidate_area</code><span class="sig-paren">(</span><em class="property">const</em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>obj</em>, <em class="property">const</em> lv_area_t *<em>area</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv422lv_obj_invalidate_areaPK8lv_obj_tPK9lv_area_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Mark an area of an object as invalid. This area will be redrawn by ‘lv_refr_task’ <dl class="simple">
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">obj</span></code>: pointer to an object </p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">area</span></code>: the area to redraw </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv417lv_obj_invalidatePK8lv_obj_t">
<span id="_CPPv317lv_obj_invalidatePK8lv_obj_t"></span><span id="_CPPv217lv_obj_invalidatePK8lv_obj_t"></span><span id="lv_obj_invalidate__lv_obj_tCP"></span><span class="target" id="lv__obj_8h_1aad66ca3c74dbc0c194bd5135fa18d033"></span>void <code class="sig-name descname">lv_obj_invalidate</code><span class="sig-paren">(</span><em class="property">const</em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>obj</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv417lv_obj_invalidatePK8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Mark the object as invalid therefore its current position will be redrawn by ‘lv_refr_task’ <dl class="simple">
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">obj</span></code>: pointer to an object </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv417lv_obj_set_parentP8lv_obj_tP8lv_obj_t">
<span id="_CPPv317lv_obj_set_parentP8lv_obj_tP8lv_obj_t"></span><span id="_CPPv217lv_obj_set_parentP8lv_obj_tP8lv_obj_t"></span><span id="lv_obj_set_parent__lv_obj_tP.lv_obj_tP"></span><span class="target" id="lv__obj_8h_1abc514aaa674d90d982ebefebca6b2284"></span>void <code class="sig-name descname">lv_obj_set_parent</code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>obj</em>, <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>parent</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv417lv_obj_set_parentP8lv_obj_tP8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Set a new parent for an object. Its relative position will be the same. <dl class="simple">
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">obj</span></code>: pointer to an object. Can’t be a screen. </p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">parent</span></code>: pointer to the new parent object. (Can’t be NULL) </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv422lv_obj_move_foregroundP8lv_obj_t">
<span id="_CPPv322lv_obj_move_foregroundP8lv_obj_t"></span><span id="_CPPv222lv_obj_move_foregroundP8lv_obj_t"></span><span id="lv_obj_move_foreground__lv_obj_tP"></span><span class="target" id="lv__obj_8h_1aa7aa29e1594d02eac986bf0766ef348e"></span>void <code class="sig-name descname">lv_obj_move_foreground</code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>obj</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv422lv_obj_move_foregroundP8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Move and object to the foreground <dl class="simple">
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">obj</span></code>: pointer to an object </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv422lv_obj_move_backgroundP8lv_obj_t">
<span id="_CPPv322lv_obj_move_backgroundP8lv_obj_t"></span><span id="_CPPv222lv_obj_move_backgroundP8lv_obj_t"></span><span id="lv_obj_move_background__lv_obj_tP"></span><span class="target" id="lv__obj_8h_1a6a63bb02c90da34db7988904a53b54ba"></span>void <code class="sig-name descname">lv_obj_move_background</code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>obj</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv422lv_obj_move_backgroundP8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Move and object to the background <dl class="simple">
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">obj</span></code>: pointer to an object </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv414lv_obj_set_posP8lv_obj_t10lv_coord_t10lv_coord_t">
<span id="_CPPv314lv_obj_set_posP8lv_obj_t10lv_coord_t10lv_coord_t"></span><span id="_CPPv214lv_obj_set_posP8lv_obj_t10lv_coord_t10lv_coord_t"></span><span id="lv_obj_set_pos__lv_obj_tP.lv_coord_t.lv_coord_t"></span><span class="target" id="lv__obj_8h_1ab224721bfc40f9fbedc291bccd84cbea"></span>void <code class="sig-name descname">lv_obj_set_pos</code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>obj</em>, lv_coord_t <em>x</em>, lv_coord_t <em>y</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv414lv_obj_set_posP8lv_obj_t10lv_coord_t10lv_coord_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Set relative the position of an object (relative to the parent) <dl class="simple">
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">obj</span></code>: pointer to an object </p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">x</span></code>: new distance from the left side of the parent </p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">y</span></code>: new distance from the top of the parent </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv412lv_obj_set_xP8lv_obj_t10lv_coord_t">
<span id="_CPPv312lv_obj_set_xP8lv_obj_t10lv_coord_t"></span><span id="_CPPv212lv_obj_set_xP8lv_obj_t10lv_coord_t"></span><span id="lv_obj_set_x__lv_obj_tP.lv_coord_t"></span><span class="target" id="lv__obj_8h_1abc849c766f9c18783e5ec600fa2b6874"></span>void <code class="sig-name descname">lv_obj_set_x</code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>obj</em>, lv_coord_t <em>x</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv412lv_obj_set_xP8lv_obj_t10lv_coord_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Set the x coordinate of a object <dl class="simple">
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">obj</span></code>: pointer to an object </p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">x</span></code>: new distance from the left side from the parent </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv412lv_obj_set_yP8lv_obj_t10lv_coord_t">
<span id="_CPPv312lv_obj_set_yP8lv_obj_t10lv_coord_t"></span><span id="_CPPv212lv_obj_set_yP8lv_obj_t10lv_coord_t"></span><span id="lv_obj_set_y__lv_obj_tP.lv_coord_t"></span><span class="target" id="lv__obj_8h_1a1993b15b44f347aeff5aa9f24e816eb2"></span>void <code class="sig-name descname">lv_obj_set_y</code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>obj</em>, lv_coord_t <em>y</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv412lv_obj_set_yP8lv_obj_t10lv_coord_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Set the y coordinate of a object <dl class="simple">
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">obj</span></code>: pointer to an object </p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">y</span></code>: new distance from the top of the parent </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv415lv_obj_set_sizeP8lv_obj_t10lv_coord_t10lv_coord_t">
<span id="_CPPv315lv_obj_set_sizeP8lv_obj_t10lv_coord_t10lv_coord_t"></span><span id="_CPPv215lv_obj_set_sizeP8lv_obj_t10lv_coord_t10lv_coord_t"></span><span id="lv_obj_set_size__lv_obj_tP.lv_coord_t.lv_coord_t"></span><span class="target" id="lv__obj_8h_1abcc5ebd0d1bda82435697baeeb58048d"></span>void <code class="sig-name descname">lv_obj_set_size</code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>obj</em>, lv_coord_t <em>w</em>, lv_coord_t <em>h</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv415lv_obj_set_sizeP8lv_obj_t10lv_coord_t10lv_coord_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Set the size of an object <dl class="simple">
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">obj</span></code>: pointer to an object </p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">w</span></code>: new width </p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">h</span></code>: new height </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv416lv_obj_set_widthP8lv_obj_t10lv_coord_t">
<span id="_CPPv316lv_obj_set_widthP8lv_obj_t10lv_coord_t"></span><span id="_CPPv216lv_obj_set_widthP8lv_obj_t10lv_coord_t"></span><span id="lv_obj_set_width__lv_obj_tP.lv_coord_t"></span><span class="target" id="lv__obj_8h_1a63d809001264dd8510fa9fe0f9aaced3"></span>void <code class="sig-name descname">lv_obj_set_width</code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>obj</em>, lv_coord_t <em>w</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv416lv_obj_set_widthP8lv_obj_t10lv_coord_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Set the width of an object <dl class="simple">
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">obj</span></code>: pointer to an object </p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">w</span></code>: new width </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv417lv_obj_set_heightP8lv_obj_t10lv_coord_t">
<span id="_CPPv317lv_obj_set_heightP8lv_obj_t10lv_coord_t"></span><span id="_CPPv217lv_obj_set_heightP8lv_obj_t10lv_coord_t"></span><span id="lv_obj_set_height__lv_obj_tP.lv_coord_t"></span><span class="target" id="lv__obj_8h_1a0d3e5fba894449938df0b10c9f442537"></span>void <code class="sig-name descname">lv_obj_set_height</code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>obj</em>, lv_coord_t <em>h</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv417lv_obj_set_heightP8lv_obj_t10lv_coord_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Set the height of an object <dl class="simple">
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">obj</span></code>: pointer to an object </p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">h</span></code>: new height </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv412lv_obj_alignP8lv_obj_tPK8lv_obj_t10lv_align_t10lv_coord_t10lv_coord_t">
<span id="_CPPv312lv_obj_alignP8lv_obj_tPK8lv_obj_t10lv_align_t10lv_coord_t10lv_coord_t"></span><span id="_CPPv212lv_obj_alignP8lv_obj_tPK8lv_obj_t10lv_align_t10lv_coord_t10lv_coord_t"></span><span id="lv_obj_align__lv_obj_tP.lv_obj_tCP.lv_align_t.lv_coord_t.lv_coord_t"></span><span class="target" id="lv__obj_8h_1a785867b8a3b3fdf90e885374b9f3c004"></span>void <code class="sig-name descname">lv_obj_align</code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>obj</em>, <em class="property">const</em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>base</em>, <a class="reference internal" href="#_CPPv410lv_align_t" title="lv_align_t">lv_align_t</a> <em>align</em>, lv_coord_t <em>x_mod</em>, lv_coord_t <em>y_mod</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv412lv_obj_alignP8lv_obj_tPK8lv_obj_t10lv_align_t10lv_coord_t10lv_coord_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Align an object to an other object. <dl class="simple">
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">obj</span></code>: pointer to an object to align </p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">base</span></code>: pointer to an object (if NULL the parent is used). ‘obj’ will be aligned to it. </p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">align</span></code>: type of alignment (see ‘lv_align_t’ enum) </p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">x_mod</span></code>: x coordinate shift after alignment </p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">y_mod</span></code>: y coordinate shift after alignment </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv418lv_obj_align_origoP8lv_obj_tPK8lv_obj_t10lv_align_t10lv_coord_t10lv_coord_t">
<span id="_CPPv318lv_obj_align_origoP8lv_obj_tPK8lv_obj_t10lv_align_t10lv_coord_t10lv_coord_t"></span><span id="_CPPv218lv_obj_align_origoP8lv_obj_tPK8lv_obj_t10lv_align_t10lv_coord_t10lv_coord_t"></span><span id="lv_obj_align_origo__lv_obj_tP.lv_obj_tCP.lv_align_t.lv_coord_t.lv_coord_t"></span><span class="target" id="lv__obj_8h_1a3056503163211af2c3801d41fbaeff40"></span>void <code class="sig-name descname">lv_obj_align_origo</code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>obj</em>, <em class="property">const</em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>base</em>, <a class="reference internal" href="#_CPPv410lv_align_t" title="lv_align_t">lv_align_t</a> <em>align</em>, lv_coord_t <em>x_mod</em>, lv_coord_t <em>y_mod</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv418lv_obj_align_origoP8lv_obj_tPK8lv_obj_t10lv_align_t10lv_coord_t10lv_coord_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Align an object to an other object. <dl class="simple">
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">obj</span></code>: pointer to an object to align </p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">base</span></code>: pointer to an object (if NULL the parent is used). ‘obj’ will be aligned to it. </p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">align</span></code>: type of alignment (see ‘lv_align_t’ enum) </p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">x_mod</span></code>: x coordinate shift after alignment </p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">y_mod</span></code>: y coordinate shift after alignment </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv414lv_obj_realignP8lv_obj_t">
<span id="_CPPv314lv_obj_realignP8lv_obj_t"></span><span id="_CPPv214lv_obj_realignP8lv_obj_t"></span><span id="lv_obj_realign__lv_obj_tP"></span><span class="target" id="lv__obj_8h_1afd4a4d1b1733db6877bbcc088331f90d"></span>void <code class="sig-name descname">lv_obj_realign</code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>obj</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv414lv_obj_realignP8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Realign the object based on the last <code class="docutils literal notranslate"><span class="pre">lv_obj_align</span></code> parameters. <dl class="simple">
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">obj</span></code>: pointer to an object </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv423lv_obj_set_auto_realignP8lv_obj_tb">
<span id="_CPPv323lv_obj_set_auto_realignP8lv_obj_tb"></span><span id="_CPPv223lv_obj_set_auto_realignP8lv_obj_tb"></span><span id="lv_obj_set_auto_realign__lv_obj_tP.b"></span><span class="target" id="lv__obj_8h_1a3df59c38faba6b47461f23269b43bb38"></span>void <code class="sig-name descname">lv_obj_set_auto_realign</code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>obj</em>, bool <em>en</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv423lv_obj_set_auto_realignP8lv_obj_tb" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Enable the automatic realign of the object when its size has changed based on the last <code class="docutils literal notranslate"><span class="pre">lv_obj_align</span></code> parameters. <dl class="simple">
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">obj</span></code>: pointer to an object </p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">en</span></code>: true: enable auto realign; false: disable auto realign </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv425lv_obj_set_ext_click_areaP8lv_obj_t10lv_coord_t10lv_coord_t10lv_coord_t10lv_coord_t">
<span id="_CPPv325lv_obj_set_ext_click_areaP8lv_obj_t10lv_coord_t10lv_coord_t10lv_coord_t10lv_coord_t"></span><span id="_CPPv225lv_obj_set_ext_click_areaP8lv_obj_t10lv_coord_t10lv_coord_t10lv_coord_t10lv_coord_t"></span><span id="lv_obj_set_ext_click_area__lv_obj_tP.lv_coord_t.lv_coord_t.lv_coord_t.lv_coord_t"></span><span class="target" id="lv__obj_8h_1aec7e167060da1cfe2fcf9fd796c57a06"></span>void <code class="sig-name descname">lv_obj_set_ext_click_area</code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>obj</em>, lv_coord_t <em>left</em>, lv_coord_t <em>right</em>, lv_coord_t <em>top</em>, lv_coord_t <em>bottom</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv425lv_obj_set_ext_click_areaP8lv_obj_t10lv_coord_t10lv_coord_t10lv_coord_t10lv_coord_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Set the size of an extended clickable area <dl class="simple">
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">obj</span></code>: pointer to an object </p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">left</span></code>: extended clickable are on the left [px] </p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">right</span></code>: extended clickable are on the right [px] </p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">top</span></code>: extended clickable are on the top [px] </p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">bottom</span></code>: extended clickable are on the bottom [px] </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv416lv_obj_set_styleP8lv_obj_tPK10lv_style_t">
<span id="_CPPv316lv_obj_set_styleP8lv_obj_tPK10lv_style_t"></span><span id="_CPPv216lv_obj_set_styleP8lv_obj_tPK10lv_style_t"></span><span id="lv_obj_set_style__lv_obj_tP.lv_style_tCP"></span><span class="target" id="lv__obj_8h_1a72aa5b5610ee26a8d09549a36da3ab40"></span>void <code class="sig-name descname">lv_obj_set_style</code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>obj</em>, <em class="property">const</em> lv_style_t *<em>style</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv416lv_obj_set_styleP8lv_obj_tPK10lv_style_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Set a new style for an object <dl class="simple">
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">obj</span></code>: pointer to an object </p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">style_p</span></code>: pointer to the new style </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv420lv_obj_refresh_styleP8lv_obj_t">
<span id="_CPPv320lv_obj_refresh_styleP8lv_obj_t"></span><span id="_CPPv220lv_obj_refresh_styleP8lv_obj_t"></span><span id="lv_obj_refresh_style__lv_obj_tP"></span><span class="target" id="lv__obj_8h_1a35d75d3cd63a55ada122bbef8a79048f"></span>void <code class="sig-name descname">lv_obj_refresh_style</code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>obj</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv420lv_obj_refresh_styleP8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Notify an object about its style is modified <dl class="simple">
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">obj</span></code>: pointer to an object </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv423lv_obj_report_style_modP10lv_style_t">
<span id="_CPPv323lv_obj_report_style_modP10lv_style_t"></span><span id="_CPPv223lv_obj_report_style_modP10lv_style_t"></span><span id="lv_obj_report_style_mod__lv_style_tP"></span><span class="target" id="lv__obj_8h_1a044811a51cd2c0488a4b99aeda66b362"></span>void <code class="sig-name descname">lv_obj_report_style_mod</code><span class="sig-paren">(</span>lv_style_t *<em>style</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv423lv_obj_report_style_modP10lv_style_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Notify all object if a style is modified <dl class="simple">
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">style</span></code>: pointer to a style. Only the objects with this style will be notified (NULL to notify all objects) </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv417lv_obj_set_hiddenP8lv_obj_tb">
<span id="_CPPv317lv_obj_set_hiddenP8lv_obj_tb"></span><span id="_CPPv217lv_obj_set_hiddenP8lv_obj_tb"></span><span id="lv_obj_set_hidden__lv_obj_tP.b"></span><span class="target" id="lv__obj_8h_1a68d00213906652fd3ab84f2e7dd4f133"></span>void <code class="sig-name descname">lv_obj_set_hidden</code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>obj</em>, bool <em>en</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv417lv_obj_set_hiddenP8lv_obj_tb" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Hide an object. It won’t be visible and clickable. <dl class="simple">
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">obj</span></code>: pointer to an object </p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">en</span></code>: true: hide the object </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv416lv_obj_set_clickP8lv_obj_tb">
<span id="_CPPv316lv_obj_set_clickP8lv_obj_tb"></span><span id="_CPPv216lv_obj_set_clickP8lv_obj_tb"></span><span id="lv_obj_set_click__lv_obj_tP.b"></span><span class="target" id="lv__obj_8h_1a0c8cd5f39061009596025309672dae89"></span>void <code class="sig-name descname">lv_obj_set_click</code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>obj</em>, bool <em>en</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv416lv_obj_set_clickP8lv_obj_tb" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Enable or disable the clicking of an object <dl class="simple">
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">obj</span></code>: pointer to an object </p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">en</span></code>: true: make the object clickable </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv414lv_obj_set_topP8lv_obj_tb">
<span id="_CPPv314lv_obj_set_topP8lv_obj_tb"></span><span id="_CPPv214lv_obj_set_topP8lv_obj_tb"></span><span id="lv_obj_set_top__lv_obj_tP.b"></span><span class="target" id="lv__obj_8h_1af7857ca4d8ac1e8183f5d5f0f1d0ba33"></span>void <code class="sig-name descname">lv_obj_set_top</code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>obj</em>, bool <em>en</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv414lv_obj_set_topP8lv_obj_tb" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Enable to bring this object to the foreground if it or any of its children is clicked <dl class="simple">
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">obj</span></code>: pointer to an object </p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">en</span></code>: true: enable the auto top feature </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv415lv_obj_set_dragP8lv_obj_tb">
<span id="_CPPv315lv_obj_set_dragP8lv_obj_tb"></span><span id="_CPPv215lv_obj_set_dragP8lv_obj_tb"></span><span id="lv_obj_set_drag__lv_obj_tP.b"></span><span class="target" id="lv__obj_8h_1a696adcf79f6d66da07fdae2cd30bc9d2"></span>void <code class="sig-name descname">lv_obj_set_drag</code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>obj</em>, bool <em>en</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv415lv_obj_set_dragP8lv_obj_tb" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Enable the dragging of an object <dl class="simple">
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">obj</span></code>: pointer to an object </p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">en</span></code>: true: make the object dragable </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv419lv_obj_set_drag_dirP8lv_obj_t13lv_drag_dir_t">
<span id="_CPPv319lv_obj_set_drag_dirP8lv_obj_t13lv_drag_dir_t"></span><span id="_CPPv219lv_obj_set_drag_dirP8lv_obj_t13lv_drag_dir_t"></span><span id="lv_obj_set_drag_dir__lv_obj_tP.lv_drag_dir_t"></span><span class="target" id="lv__obj_8h_1a58a943c6984048224bbb9771b7824b8f"></span>void <code class="sig-name descname">lv_obj_set_drag_dir</code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>obj</em>, <a class="reference internal" href="#_CPPv413lv_drag_dir_t" title="lv_drag_dir_t">lv_drag_dir_t</a> <em>drag_dir</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv419lv_obj_set_drag_dirP8lv_obj_t13lv_drag_dir_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Set the directions an object can be dragged in <dl class="simple">
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">obj</span></code>: pointer to an object </p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">drag_dir</span></code>: bitwise OR of allowed drag directions </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv421lv_obj_set_drag_throwP8lv_obj_tb">
<span id="_CPPv321lv_obj_set_drag_throwP8lv_obj_tb"></span><span id="_CPPv221lv_obj_set_drag_throwP8lv_obj_tb"></span><span id="lv_obj_set_drag_throw__lv_obj_tP.b"></span><span class="target" id="lv__obj_8h_1afcc8485737f799ba463194226f5d58fc"></span>void <code class="sig-name descname">lv_obj_set_drag_throw</code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>obj</em>, bool <em>en</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv421lv_obj_set_drag_throwP8lv_obj_tb" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Enable the throwing of an object after is is dragged <dl class="simple">
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">obj</span></code>: pointer to an object </p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">en</span></code>: true: enable the drag throw </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv422lv_obj_set_drag_parentP8lv_obj_tb">
<span id="_CPPv322lv_obj_set_drag_parentP8lv_obj_tb"></span><span id="_CPPv222lv_obj_set_drag_parentP8lv_obj_tb"></span><span id="lv_obj_set_drag_parent__lv_obj_tP.b"></span><span class="target" id="lv__obj_8h_1a542be047fdc3ac17cf2c319bcb4dfdb9"></span>void <code class="sig-name descname">lv_obj_set_drag_parent</code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>obj</em>, bool <em>en</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv422lv_obj_set_drag_parentP8lv_obj_tb" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Enable to use parent for drag related operations. If trying to drag the object the parent will be moved instead <dl class="simple">
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">obj</span></code>: pointer to an object </p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">en</span></code>: true: enable the ‘drag parent’ for the object </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv423lv_obj_set_parent_eventP8lv_obj_tb">
<span id="_CPPv323lv_obj_set_parent_eventP8lv_obj_tb"></span><span id="_CPPv223lv_obj_set_parent_eventP8lv_obj_tb"></span><span id="lv_obj_set_parent_event__lv_obj_tP.b"></span><span class="target" id="lv__obj_8h_1af56bad14914d3fdb5d242d3883ce491c"></span>void <code class="sig-name descname">lv_obj_set_parent_event</code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>obj</em>, bool <em>en</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv423lv_obj_set_parent_eventP8lv_obj_tb" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Propagate the events to the parent too <dl class="simple">
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">obj</span></code>: pointer to an object </p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">en</span></code>: true: enable the event propagation </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv419lv_obj_set_base_dirP8lv_obj_t13lv_bidi_dir_t">
<span id="_CPPv319lv_obj_set_base_dirP8lv_obj_t13lv_bidi_dir_t"></span><span id="_CPPv219lv_obj_set_base_dirP8lv_obj_t13lv_bidi_dir_t"></span><span id="lv_obj_set_base_dir__lv_obj_tP.lv_bidi_dir_t"></span><span class="target" id="lv__obj_8h_1a6a086ccdbb96cabcae1f185225215f61"></span>void <code class="sig-name descname">lv_obj_set_base_dir</code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>obj</em>, lv_bidi_dir_t <em>dir</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv419lv_obj_set_base_dirP8lv_obj_t13lv_bidi_dir_t" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp function">
<dt id="_CPPv427lv_obj_set_opa_scale_enableP8lv_obj_tb">
<span id="_CPPv327lv_obj_set_opa_scale_enableP8lv_obj_tb"></span><span id="_CPPv227lv_obj_set_opa_scale_enableP8lv_obj_tb"></span><span id="lv_obj_set_opa_scale_enable__lv_obj_tP.b"></span><span class="target" id="lv__obj_8h_1a9083ee45989a0943404ab63c2698c1b9"></span>void <code class="sig-name descname">lv_obj_set_opa_scale_enable</code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>obj</em>, bool <em>en</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv427lv_obj_set_opa_scale_enableP8lv_obj_tb" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Set the opa scale enable parameter (required to set opa_scale with <code class="docutils literal notranslate"><a class="reference internal" href="#lv__obj_8h_1af6b6cba5ad8a35cb580a012913d8bd0b"><span class="std std-ref"><span class="pre">lv_obj_set_opa_scale()</span></span></a></code>) <dl class="simple">
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">obj</span></code>: pointer to an object </p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">en</span></code>: true: opa scaling is enabled for this object and all children; false: no opa scaling </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv420lv_obj_set_opa_scaleP8lv_obj_t8lv_opa_t">
<span id="_CPPv320lv_obj_set_opa_scaleP8lv_obj_t8lv_opa_t"></span><span id="_CPPv220lv_obj_set_opa_scaleP8lv_obj_t8lv_opa_t"></span><span id="lv_obj_set_opa_scale__lv_obj_tP.lv_opa_t"></span><span class="target" id="lv__obj_8h_1af6b6cba5ad8a35cb580a012913d8bd0b"></span>void <code class="sig-name descname">lv_obj_set_opa_scale</code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>obj</em>, <a class="reference internal" href="../overview/display.html#_CPPv48lv_opa_t" title="lv_opa_t">lv_opa_t</a> <em>opa_scale</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv420lv_obj_set_opa_scaleP8lv_obj_t8lv_opa_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Set the opa scale of an object. The opacity of this object and all it’s children will be scaled down with this factor. <code class="docutils literal notranslate"><span class="pre">lv_obj_set_opa_scale_enable(obj,</span> <span class="pre">true)</span></code> needs to be called to enable it. (not for all children just for the parent where to start the opa scaling) <dl class="simple">
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">obj</span></code>: pointer to an object </p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">opa_scale</span></code>: a factor to scale down opacity [0..255] </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv418lv_obj_set_protectP8lv_obj_t7uint8_t">
<span id="_CPPv318lv_obj_set_protectP8lv_obj_t7uint8_t"></span><span id="_CPPv218lv_obj_set_protectP8lv_obj_t7uint8_t"></span><span id="lv_obj_set_protect__lv_obj_tP.uint8_t"></span><span class="target" id="lv__obj_8h_1a119dc65fc90f8b380f08dcb032905c35"></span>void <code class="sig-name descname">lv_obj_set_protect</code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>obj</em>, uint8_t <em>prot</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv418lv_obj_set_protectP8lv_obj_t7uint8_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Set a bit or bits in the protect filed <dl class="simple">
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">obj</span></code>: pointer to an object </p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">prot</span></code>: ‘OR’-ed values from <code class="docutils literal notranslate"><span class="pre">lv_protect_t</span></code> </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv420lv_obj_clear_protectP8lv_obj_t7uint8_t">
<span id="_CPPv320lv_obj_clear_protectP8lv_obj_t7uint8_t"></span><span id="_CPPv220lv_obj_clear_protectP8lv_obj_t7uint8_t"></span><span id="lv_obj_clear_protect__lv_obj_tP.uint8_t"></span><span class="target" id="lv__obj_8h_1a3b359e8f898fd2c8b8d1ab0c07919e15"></span>void <code class="sig-name descname">lv_obj_clear_protect</code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>obj</em>, uint8_t <em>prot</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv420lv_obj_clear_protectP8lv_obj_t7uint8_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Clear a bit or bits in the protect filed <dl class="simple">
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">obj</span></code>: pointer to an object </p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">prot</span></code>: ‘OR’-ed values from <code class="docutils literal notranslate"><span class="pre">lv_protect_t</span></code> </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv419lv_obj_set_event_cbP8lv_obj_t13lv_event_cb_t">
<span id="_CPPv319lv_obj_set_event_cbP8lv_obj_t13lv_event_cb_t"></span><span id="_CPPv219lv_obj_set_event_cbP8lv_obj_t13lv_event_cb_t"></span><span id="lv_obj_set_event_cb__lv_obj_tP.lv_event_cb_t"></span><span class="target" id="lv__obj_8h_1a16c2f9020fcde51036b3e319b6217203"></span>void <code class="sig-name descname">lv_obj_set_event_cb</code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>obj</em>, <a class="reference internal" href="#_CPPv413lv_event_cb_t" title="lv_event_cb_t">lv_event_cb_t</a> <em>event_cb</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv419lv_obj_set_event_cbP8lv_obj_t13lv_event_cb_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Set a an event handler function for an object. Used by the user to react on event which happens with the object. <dl class="simple">
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">obj</span></code>: pointer to an object </p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">event_cb</span></code>: the new event function </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv413lv_event_sendP8lv_obj_t10lv_event_tPKv">
<span id="_CPPv313lv_event_sendP8lv_obj_t10lv_event_tPKv"></span><span id="_CPPv213lv_event_sendP8lv_obj_t10lv_event_tPKv"></span><span id="lv_event_send__lv_obj_tP.lv_event_t.voidCP"></span><span class="target" id="lv__obj_8h_1acc3d57f4139c996ffb8d9f4550c2b820"></span>lv_res_t <code class="sig-name descname">lv_event_send</code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>obj</em>, <a class="reference internal" href="#_CPPv410lv_event_t" title="lv_event_t">lv_event_t</a> <em>event</em>, <em class="property">const</em> void *<em>data</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv413lv_event_sendP8lv_obj_t10lv_event_tPKv" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Send an event to the object <dl class="simple">
<dt><strong>Return</strong></dt><dd><p>LV_RES_OK: <code class="docutils literal notranslate"><span class="pre">obj</span></code> was not deleted in the event; LV_RES_INV: <code class="docutils literal notranslate"><span class="pre">obj</span></code> was deleted in the event </p>
</dd>
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">obj</span></code>: pointer to an object </p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">event</span></code>: the type of the event from <code class="docutils literal notranslate"><span class="pre">lv_event_t</span></code>. </p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">data</span></code>: arbitrary data depending on the object type and the event. (Usually <code class="docutils literal notranslate"><span class="pre">NULL</span></code>) </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv418lv_event_send_func13lv_event_cb_tP8lv_obj_t10lv_event_tPKv">
<span id="_CPPv318lv_event_send_func13lv_event_cb_tP8lv_obj_t10lv_event_tPKv"></span><span id="_CPPv218lv_event_send_func13lv_event_cb_tP8lv_obj_t10lv_event_tPKv"></span><span id="lv_event_send_func__lv_event_cb_t.lv_obj_tP.lv_event_t.voidCP"></span><span class="target" id="lv__obj_8h_1ab336a88a900b047e3bfd077a8d4ef20b"></span>lv_res_t <code class="sig-name descname">lv_event_send_func</code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv413lv_event_cb_t" title="lv_event_cb_t">lv_event_cb_t</a> <em>event_xcb</em>, <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>obj</em>, <a class="reference internal" href="#_CPPv410lv_event_t" title="lv_event_t">lv_event_t</a> <em>event</em>, <em class="property">const</em> void *<em>data</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv418lv_event_send_func13lv_event_cb_tP8lv_obj_t10lv_event_tPKv" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Call an event function with an object, event, and data. <dl class="simple">
<dt><strong>Return</strong></dt><dd><p>LV_RES_OK: <code class="docutils literal notranslate"><span class="pre">obj</span></code> was not deleted in the event; LV_RES_INV: <code class="docutils literal notranslate"><span class="pre">obj</span></code> was deleted in the event </p>
</dd>
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">event_xcb</span></code>: an event callback function. If <code class="docutils literal notranslate"><span class="pre">NULL</span></code> <code class="docutils literal notranslate"><span class="pre">LV_RES_OK</span></code> will return without any actions. (the ‘x’ in the argument name indicates that its not a fully generic function because it not follows the <code class="docutils literal notranslate"><span class="pre">func_name(object,</span> <span class="pre">callback,</span> <span class="pre">...)</span></code> convention) </p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">obj</span></code>: pointer to an object to associate with the event (can be <code class="docutils literal notranslate"><span class="pre">NULL</span></code> to simply call the <code class="docutils literal notranslate"><span class="pre">event_cb</span></code>) </p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">event</span></code>: an event </p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">data</span></code>: pointer to a custom data </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv417lv_event_get_datav">
<span id="_CPPv317lv_event_get_datav"></span><span id="_CPPv217lv_event_get_datav"></span><span id="lv_event_get_data__void"></span><span class="target" id="lv__obj_8h_1a472e53d23fcabb36ca29bd53b6ac8c15"></span><em class="property">const</em> void *<code class="sig-name descname">lv_event_get_data</code><span class="sig-paren">(</span>void<span class="sig-paren">)</span><a class="headerlink" href="#_CPPv417lv_event_get_datav" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Get the <code class="docutils literal notranslate"><span class="pre">data</span></code> parameter of the current event <dl class="simple">
<dt><strong>Return</strong></dt><dd><p>the <code class="docutils literal notranslate"><span class="pre">data</span></code> parameter </p>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv420lv_obj_set_signal_cbP8lv_obj_t14lv_signal_cb_t">
<span id="_CPPv320lv_obj_set_signal_cbP8lv_obj_t14lv_signal_cb_t"></span><span id="_CPPv220lv_obj_set_signal_cbP8lv_obj_t14lv_signal_cb_t"></span><span id="lv_obj_set_signal_cb__lv_obj_tP.lv_signal_cb_t"></span><span class="target" id="lv__obj_8h_1a9b15e80bc5b1fa338dcec4eab720796b"></span>void <code class="sig-name descname">lv_obj_set_signal_cb</code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>obj</em>, <a class="reference internal" href="#_CPPv414lv_signal_cb_t" title="lv_signal_cb_t">lv_signal_cb_t</a> <em>signal_cb</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv420lv_obj_set_signal_cbP8lv_obj_t14lv_signal_cb_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Set the a signal function of an object. Used internally by the library. Always call the previous signal function in the new. <dl class="simple">
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">obj</span></code>: pointer to an object </p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">signal_cb</span></code>: the new signal function </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv414lv_signal_sendP8lv_obj_t11lv_signal_tPv">
<span id="_CPPv314lv_signal_sendP8lv_obj_t11lv_signal_tPv"></span><span id="_CPPv214lv_signal_sendP8lv_obj_t11lv_signal_tPv"></span><span id="lv_signal_send__lv_obj_tP.lv_signal_t.voidP"></span><span class="target" id="lv__obj_8h_1a9f7b73005ce76b3c5e6e71796c416e6c"></span>void <code class="sig-name descname">lv_signal_send</code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>obj</em>, <a class="reference internal" href="#_CPPv411lv_signal_t" title="lv_signal_t">lv_signal_t</a> <em>signal</em>, void *<em>param</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv414lv_signal_sendP8lv_obj_t11lv_signal_tPv" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Send an event to the object <dl class="simple">
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">obj</span></code>: pointer to an object </p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">event</span></code>: the type of the event from <code class="docutils literal notranslate"><span class="pre">lv_event_t</span></code>. </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv420lv_obj_set_design_cbP8lv_obj_t14lv_design_cb_t">
<span id="_CPPv320lv_obj_set_design_cbP8lv_obj_t14lv_design_cb_t"></span><span id="_CPPv220lv_obj_set_design_cbP8lv_obj_t14lv_design_cb_t"></span><span id="lv_obj_set_design_cb__lv_obj_tP.lv_design_cb_t"></span><span class="target" id="lv__obj_8h_1aa97d824b977176ad1d8eb1b9e1675e0f"></span>void <code class="sig-name descname">lv_obj_set_design_cb</code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>obj</em>, <a class="reference internal" href="#_CPPv414lv_design_cb_t" title="lv_design_cb_t">lv_design_cb_t</a> <em>design_cb</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv420lv_obj_set_design_cbP8lv_obj_t14lv_design_cb_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Set a new design function for an object <dl class="simple">
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">obj</span></code>: pointer to an object </p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">design_cb</span></code>: the new design function </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv424lv_obj_allocate_ext_attrP8lv_obj_t8uint16_t">
<span id="_CPPv324lv_obj_allocate_ext_attrP8lv_obj_t8uint16_t"></span><span id="_CPPv224lv_obj_allocate_ext_attrP8lv_obj_t8uint16_t"></span><span id="lv_obj_allocate_ext_attr__lv_obj_tP.uint16_t"></span><span class="target" id="lv__obj_8h_1aeb8dea7afde33b8851b8e3386c7314a4"></span>void *<code class="sig-name descname">lv_obj_allocate_ext_attr</code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>obj</em>, uint16_t <em>ext_size</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv424lv_obj_allocate_ext_attrP8lv_obj_t8uint16_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Allocate a new ext. data for an object <dl class="simple">
<dt><strong>Return</strong></dt><dd><p>pointer to the allocated ext </p>
</dd>
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">obj</span></code>: pointer to an object </p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">ext_size</span></code>: the size of the new ext. data </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv427lv_obj_refresh_ext_draw_padP8lv_obj_t">
<span id="_CPPv327lv_obj_refresh_ext_draw_padP8lv_obj_t"></span><span id="_CPPv227lv_obj_refresh_ext_draw_padP8lv_obj_t"></span><span id="lv_obj_refresh_ext_draw_pad__lv_obj_tP"></span><span class="target" id="lv__obj_8h_1aeb89ad1cad229158b40e7bb97be07b03"></span>void <code class="sig-name descname">lv_obj_refresh_ext_draw_pad</code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>obj</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv427lv_obj_refresh_ext_draw_padP8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Send a ‘LV_SIGNAL_REFR_EXT_SIZE’ signal to the object <dl class="simple">
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">obj</span></code>: pointer to an object </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv417lv_obj_get_screenPK8lv_obj_t">
<span id="_CPPv317lv_obj_get_screenPK8lv_obj_t"></span><span id="_CPPv217lv_obj_get_screenPK8lv_obj_t"></span><span id="lv_obj_get_screen__lv_obj_tCP"></span><span class="target" id="lv__obj_8h_1a52e56ecd96b78115ed0b51c36f653747"></span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<code class="sig-name descname">lv_obj_get_screen</code><span class="sig-paren">(</span><em class="property">const</em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>obj</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv417lv_obj_get_screenPK8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Return with the screen of an object <dl class="simple">
<dt><strong>Return</strong></dt><dd><p>pointer to a screen </p>
</dd>
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">obj</span></code>: pointer to an object </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv415lv_obj_get_dispPK8lv_obj_t">
<span id="_CPPv315lv_obj_get_dispPK8lv_obj_t"></span><span id="_CPPv215lv_obj_get_dispPK8lv_obj_t"></span><span id="lv_obj_get_disp__lv_obj_tCP"></span><span class="target" id="lv__obj_8h_1a0bd81ae3f2213e55c43c3129b03d2649"></span><a class="reference internal" href="../porting/display.html#_CPPv49lv_disp_t" title="lv_disp_t">lv_disp_t</a> *<code class="sig-name descname">lv_obj_get_disp</code><span class="sig-paren">(</span><em class="property">const</em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>obj</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv415lv_obj_get_dispPK8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Get the display of an object <dl class="simple">
<dt><strong>Return</strong></dt><dd><p>pointer the object’s display </p>
</dd>
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">scr</span></code>: pointer to an object </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv417lv_obj_get_parentPK8lv_obj_t">
<span id="_CPPv317lv_obj_get_parentPK8lv_obj_t"></span><span id="_CPPv217lv_obj_get_parentPK8lv_obj_t"></span><span id="lv_obj_get_parent__lv_obj_tCP"></span><span class="target" id="lv__obj_8h_1a52905721cbc66958ef9fd1361522f4e4"></span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<code class="sig-name descname">lv_obj_get_parent</code><span class="sig-paren">(</span><em class="property">const</em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>obj</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv417lv_obj_get_parentPK8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Returns with the parent of an object <dl class="simple">
<dt><strong>Return</strong></dt><dd><p>pointer to the parent of ‘obj’ </p>
</dd>
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">obj</span></code>: pointer to an object </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv416lv_obj_get_childPK8lv_obj_tPK8lv_obj_t">
<span id="_CPPv316lv_obj_get_childPK8lv_obj_tPK8lv_obj_t"></span><span id="_CPPv216lv_obj_get_childPK8lv_obj_tPK8lv_obj_t"></span><span id="lv_obj_get_child__lv_obj_tCP.lv_obj_tCP"></span><span class="target" id="lv__obj_8h_1a36dcadffbb0a2bf02feb62b6a2f963aa"></span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<code class="sig-name descname">lv_obj_get_child</code><span class="sig-paren">(</span><em class="property">const</em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>obj</em>, <em class="property">const</em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>child</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv416lv_obj_get_childPK8lv_obj_tPK8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Iterate through the children of an object (start from the “youngest, lastly created”) <dl class="simple">
<dt><strong>Return</strong></dt><dd><p>the child after ‘act_child’ or NULL if no more child </p>
</dd>
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">obj</span></code>: pointer to an object </p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">child</span></code>: NULL at first call to get the next children and the previous return value later </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv421lv_obj_get_child_backPK8lv_obj_tPK8lv_obj_t">
<span id="_CPPv321lv_obj_get_child_backPK8lv_obj_tPK8lv_obj_t"></span><span id="_CPPv221lv_obj_get_child_backPK8lv_obj_tPK8lv_obj_t"></span><span id="lv_obj_get_child_back__lv_obj_tCP.lv_obj_tCP"></span><span class="target" id="lv__obj_8h_1ab620077d4e1d0a6f75dd443e5a4a67a8"></span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<code class="sig-name descname">lv_obj_get_child_back</code><span class="sig-paren">(</span><em class="property">const</em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>obj</em>, <em class="property">const</em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>child</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv421lv_obj_get_child_backPK8lv_obj_tPK8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Iterate through the children of an object (start from the “oldest”, firstly created) <dl class="simple">
<dt><strong>Return</strong></dt><dd><p>the child after ‘act_child’ or NULL if no more child </p>
</dd>
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">obj</span></code>: pointer to an object </p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">child</span></code>: NULL at first call to get the next children and the previous return value later </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv421lv_obj_count_childrenPK8lv_obj_t">
<span id="_CPPv321lv_obj_count_childrenPK8lv_obj_t"></span><span id="_CPPv221lv_obj_count_childrenPK8lv_obj_t"></span><span id="lv_obj_count_children__lv_obj_tCP"></span><span class="target" id="lv__obj_8h_1a6ce599b3f83982ae5fa192dce54cba76"></span>uint16_t <code class="sig-name descname">lv_obj_count_children</code><span class="sig-paren">(</span><em class="property">const</em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>obj</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv421lv_obj_count_childrenPK8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Count the children of an object (only children directly on ‘obj’) <dl class="simple">
<dt><strong>Return</strong></dt><dd><p>children number of ‘obj’ </p>
</dd>
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">obj</span></code>: pointer to an object </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv431lv_obj_count_children_recursivePK8lv_obj_t">
<span id="_CPPv331lv_obj_count_children_recursivePK8lv_obj_t"></span><span id="_CPPv231lv_obj_count_children_recursivePK8lv_obj_t"></span><span id="lv_obj_count_children_recursive__lv_obj_tCP"></span><span class="target" id="lv__obj_8h_1ab10e50bbf95f7b13a7c04ad440c6aff9"></span>uint16_t <code class="sig-name descname">lv_obj_count_children_recursive</code><span class="sig-paren">(</span><em class="property">const</em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>obj</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv431lv_obj_count_children_recursivePK8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Recursively count the children of an object <dl class="simple">
<dt><strong>Return</strong></dt><dd><p>children number of ‘obj’ </p>
</dd>
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">obj</span></code>: pointer to an object </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv417lv_obj_get_coordsPK8lv_obj_tP9lv_area_t">
<span id="_CPPv317lv_obj_get_coordsPK8lv_obj_tP9lv_area_t"></span><span id="_CPPv217lv_obj_get_coordsPK8lv_obj_tP9lv_area_t"></span><span id="lv_obj_get_coords__lv_obj_tCP.lv_area_tP"></span><span class="target" id="lv__obj_8h_1a05f006d361710d75650677e7c6c9cf3e"></span>void <code class="sig-name descname">lv_obj_get_coords</code><span class="sig-paren">(</span><em class="property">const</em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>obj</em>, lv_area_t *<em>cords_p</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv417lv_obj_get_coordsPK8lv_obj_tP9lv_area_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Copy the coordinates of an object to an area <dl class="simple">
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">obj</span></code>: pointer to an object </p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">cords_p</span></code>: pointer to an area to store the coordinates </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv423lv_obj_get_inner_coordsPK8lv_obj_tP9lv_area_t">
<span id="_CPPv323lv_obj_get_inner_coordsPK8lv_obj_tP9lv_area_t"></span><span id="_CPPv223lv_obj_get_inner_coordsPK8lv_obj_tP9lv_area_t"></span><span id="lv_obj_get_inner_coords__lv_obj_tCP.lv_area_tP"></span><span class="target" id="lv__obj_8h_1aaad347779991e40fd36aea89dcdf4a2b"></span>void <code class="sig-name descname">lv_obj_get_inner_coords</code><span class="sig-paren">(</span><em class="property">const</em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>obj</em>, lv_area_t *<em>coords_p</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv423lv_obj_get_inner_coordsPK8lv_obj_tP9lv_area_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Reduce area retried by <code class="docutils literal notranslate"><a class="reference internal" href="#lv__obj_8h_1a05f006d361710d75650677e7c6c9cf3e"><span class="std std-ref"><span class="pre">lv_obj_get_coords()</span></span></a></code> the get graphically usable area of an object. (Without the size of the border or other extra graphical elements) <dl class="simple">
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">coords_p</span></code>: store the result area here </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv412lv_obj_get_xPK8lv_obj_t">
<span id="_CPPv312lv_obj_get_xPK8lv_obj_t"></span><span id="_CPPv212lv_obj_get_xPK8lv_obj_t"></span><span id="lv_obj_get_x__lv_obj_tCP"></span><span class="target" id="lv__obj_8h_1aeefcb58f5d09e5ba9722fc680a3ad409"></span>lv_coord_t <code class="sig-name descname">lv_obj_get_x</code><span class="sig-paren">(</span><em class="property">const</em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>obj</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv412lv_obj_get_xPK8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Get the x coordinate of object <dl class="simple">
<dt><strong>Return</strong></dt><dd><p>distance of ‘obj’ from the left side of its parent </p>
</dd>
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">obj</span></code>: pointer to an object </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv412lv_obj_get_yPK8lv_obj_t">
<span id="_CPPv312lv_obj_get_yPK8lv_obj_t"></span><span id="_CPPv212lv_obj_get_yPK8lv_obj_t"></span><span id="lv_obj_get_y__lv_obj_tCP"></span><span class="target" id="lv__obj_8h_1adb5b94d45013ad689376f1b92eaf7072"></span>lv_coord_t <code class="sig-name descname">lv_obj_get_y</code><span class="sig-paren">(</span><em class="property">const</em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>obj</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv412lv_obj_get_yPK8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Get the y coordinate of object <dl class="simple">
<dt><strong>Return</strong></dt><dd><p>distance of ‘obj’ from the top of its parent </p>
</dd>
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">obj</span></code>: pointer to an object </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv416lv_obj_get_widthPK8lv_obj_t">
<span id="_CPPv316lv_obj_get_widthPK8lv_obj_t"></span><span id="_CPPv216lv_obj_get_widthPK8lv_obj_t"></span><span id="lv_obj_get_width__lv_obj_tCP"></span><span class="target" id="lv__obj_8h_1a118b18e487255be1d8729239e9ddbee1"></span>lv_coord_t <code class="sig-name descname">lv_obj_get_width</code><span class="sig-paren">(</span><em class="property">const</em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>obj</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv416lv_obj_get_widthPK8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Get the width of an object <dl class="simple">
<dt><strong>Return</strong></dt><dd><p>the width </p>
</dd>
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">obj</span></code>: pointer to an object </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv417lv_obj_get_heightPK8lv_obj_t">
<span id="_CPPv317lv_obj_get_heightPK8lv_obj_t"></span><span id="_CPPv217lv_obj_get_heightPK8lv_obj_t"></span><span id="lv_obj_get_height__lv_obj_tCP"></span><span class="target" id="lv__obj_8h_1aada555bdfd06f2673714a7c6fd8a3b58"></span>lv_coord_t <code class="sig-name descname">lv_obj_get_height</code><span class="sig-paren">(</span><em class="property">const</em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>obj</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv417lv_obj_get_heightPK8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Get the height of an object <dl class="simple">
<dt><strong>Return</strong></dt><dd><p>the height </p>
</dd>
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">obj</span></code>: pointer to an object </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv420lv_obj_get_width_fitPK8lv_obj_t">
<span id="_CPPv320lv_obj_get_width_fitPK8lv_obj_t"></span><span id="_CPPv220lv_obj_get_width_fitPK8lv_obj_t"></span><span id="lv_obj_get_width_fit__lv_obj_tCP"></span><span class="target" id="lv__obj_8h_1ac43b44ea71e3109e39004d2f57edd5e9"></span>lv_coord_t <code class="sig-name descname">lv_obj_get_width_fit</code><span class="sig-paren">(</span><em class="property">const</em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>obj</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv420lv_obj_get_width_fitPK8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Get that width reduced by the left and right padding. <dl class="simple">
<dt><strong>Return</strong></dt><dd><p>the width which still fits into the container </p>
</dd>
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">obj</span></code>: pointer to an object </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv421lv_obj_get_height_fitPK8lv_obj_t">
<span id="_CPPv321lv_obj_get_height_fitPK8lv_obj_t"></span><span id="_CPPv221lv_obj_get_height_fitPK8lv_obj_t"></span><span id="lv_obj_get_height_fit__lv_obj_tCP"></span><span class="target" id="lv__obj_8h_1a3fbceaa8d7bb45a97418e62bb687b9d9"></span>lv_coord_t <code class="sig-name descname">lv_obj_get_height_fit</code><span class="sig-paren">(</span><em class="property">const</em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>obj</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv421lv_obj_get_height_fitPK8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Get that height reduced by the top an bottom padding. <dl class="simple">
<dt><strong>Return</strong></dt><dd><p>the height which still fits into the container </p>
</dd>
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">obj</span></code>: pointer to an object </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv423lv_obj_get_auto_realignPK8lv_obj_t">
<span id="_CPPv323lv_obj_get_auto_realignPK8lv_obj_t"></span><span id="_CPPv223lv_obj_get_auto_realignPK8lv_obj_t"></span><span id="lv_obj_get_auto_realign__lv_obj_tCP"></span><span class="target" id="lv__obj_8h_1a5642c5bfafed524fd6fc20823ad6562b"></span>bool <code class="sig-name descname">lv_obj_get_auto_realign</code><span class="sig-paren">(</span><em class="property">const</em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>obj</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv423lv_obj_get_auto_realignPK8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Get the automatic realign property of the object. <dl class="simple">
<dt><strong>Return</strong></dt><dd><p>true: auto realign is enabled; false: auto realign is disabled </p>
</dd>
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">obj</span></code>: pointer to an object </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv429lv_obj_get_ext_click_pad_leftPK8lv_obj_t">
<span id="_CPPv329lv_obj_get_ext_click_pad_leftPK8lv_obj_t"></span><span id="_CPPv229lv_obj_get_ext_click_pad_leftPK8lv_obj_t"></span><span id="lv_obj_get_ext_click_pad_left__lv_obj_tCP"></span><span class="target" id="lv__obj_8h_1ab9fba1d6b6f3916fdcd454c4d7fe368e"></span>lv_coord_t <code class="sig-name descname">lv_obj_get_ext_click_pad_left</code><span class="sig-paren">(</span><em class="property">const</em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>obj</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv429lv_obj_get_ext_click_pad_leftPK8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Get the left padding of extended clickable area <dl class="simple">
<dt><strong>Return</strong></dt><dd><p>the extended left padding </p>
</dd>
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">obj</span></code>: pointer to an object </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv430lv_obj_get_ext_click_pad_rightPK8lv_obj_t">
<span id="_CPPv330lv_obj_get_ext_click_pad_rightPK8lv_obj_t"></span><span id="_CPPv230lv_obj_get_ext_click_pad_rightPK8lv_obj_t"></span><span id="lv_obj_get_ext_click_pad_right__lv_obj_tCP"></span><span class="target" id="lv__obj_8h_1a35e95300546b05681322cd764cb8bcba"></span>lv_coord_t <code class="sig-name descname">lv_obj_get_ext_click_pad_right</code><span class="sig-paren">(</span><em class="property">const</em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>obj</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv430lv_obj_get_ext_click_pad_rightPK8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Get the right padding of extended clickable area <dl class="simple">
<dt><strong>Return</strong></dt><dd><p>the extended right padding </p>
</dd>
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">obj</span></code>: pointer to an object </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv428lv_obj_get_ext_click_pad_topPK8lv_obj_t">
<span id="_CPPv328lv_obj_get_ext_click_pad_topPK8lv_obj_t"></span><span id="_CPPv228lv_obj_get_ext_click_pad_topPK8lv_obj_t"></span><span id="lv_obj_get_ext_click_pad_top__lv_obj_tCP"></span><span class="target" id="lv__obj_8h_1acbba8319492dcf57db926ce45744c2fa"></span>lv_coord_t <code class="sig-name descname">lv_obj_get_ext_click_pad_top</code><span class="sig-paren">(</span><em class="property">const</em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>obj</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv428lv_obj_get_ext_click_pad_topPK8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Get the top padding of extended clickable area <dl class="simple">
<dt><strong>Return</strong></dt><dd><p>the extended top padding </p>
</dd>
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">obj</span></code>: pointer to an object </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv431lv_obj_get_ext_click_pad_bottomPK8lv_obj_t">
<span id="_CPPv331lv_obj_get_ext_click_pad_bottomPK8lv_obj_t"></span><span id="_CPPv231lv_obj_get_ext_click_pad_bottomPK8lv_obj_t"></span><span id="lv_obj_get_ext_click_pad_bottom__lv_obj_tCP"></span><span class="target" id="lv__obj_8h_1a53c539540efc635c7f966ef51a2f3ed6"></span>lv_coord_t <code class="sig-name descname">lv_obj_get_ext_click_pad_bottom</code><span class="sig-paren">(</span><em class="property">const</em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>obj</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv431lv_obj_get_ext_click_pad_bottomPK8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Get the bottom padding of extended clickable area <dl class="simple">
<dt><strong>Return</strong></dt><dd><p>the extended bottom padding </p>
</dd>
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">obj</span></code>: pointer to an object </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv423lv_obj_get_ext_draw_padPK8lv_obj_t">
<span id="_CPPv323lv_obj_get_ext_draw_padPK8lv_obj_t"></span><span id="_CPPv223lv_obj_get_ext_draw_padPK8lv_obj_t"></span><span id="lv_obj_get_ext_draw_pad__lv_obj_tCP"></span><span class="target" id="lv__obj_8h_1a731df1c9d92621ae049541ade346c6db"></span>lv_coord_t <code class="sig-name descname">lv_obj_get_ext_draw_pad</code><span class="sig-paren">(</span><em class="property">const</em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>obj</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv423lv_obj_get_ext_draw_padPK8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Get the extended size attribute of an object <dl class="simple">
<dt><strong>Return</strong></dt><dd><p>the extended size attribute </p>
</dd>
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">obj</span></code>: pointer to an object </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv416lv_obj_get_stylePK8lv_obj_t">
<span id="_CPPv316lv_obj_get_stylePK8lv_obj_t"></span><span id="_CPPv216lv_obj_get_stylePK8lv_obj_t"></span><span id="lv_obj_get_style__lv_obj_tCP"></span><span class="target" id="lv__obj_8h_1ac464cbdf42e6aa96a9499595c0024f7a"></span><em class="property">const</em> lv_style_t *<code class="sig-name descname">lv_obj_get_style</code><span class="sig-paren">(</span><em class="property">const</em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>obj</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv416lv_obj_get_stylePK8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Get the style pointer of an object (if NULL get style of the parent) <dl class="simple">
<dt><strong>Return</strong></dt><dd><p>pointer to a style </p>
</dd>
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">obj</span></code>: pointer to an object </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv417lv_obj_get_hiddenPK8lv_obj_t">
<span id="_CPPv317lv_obj_get_hiddenPK8lv_obj_t"></span><span id="_CPPv217lv_obj_get_hiddenPK8lv_obj_t"></span><span id="lv_obj_get_hidden__lv_obj_tCP"></span><span class="target" id="lv__obj_8h_1a818a3767b76e5edaf2a97beafdf53f61"></span>bool <code class="sig-name descname">lv_obj_get_hidden</code><span class="sig-paren">(</span><em class="property">const</em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>obj</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv417lv_obj_get_hiddenPK8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Get the hidden attribute of an object <dl class="simple">
<dt><strong>Return</strong></dt><dd><p>true: the object is hidden </p>
</dd>
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">obj</span></code>: pointer to an object </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv416lv_obj_get_clickPK8lv_obj_t">
<span id="_CPPv316lv_obj_get_clickPK8lv_obj_t"></span><span id="_CPPv216lv_obj_get_clickPK8lv_obj_t"></span><span id="lv_obj_get_click__lv_obj_tCP"></span><span class="target" id="lv__obj_8h_1a0faee4743a74deb1bc48dbd3f10d7943"></span>bool <code class="sig-name descname">lv_obj_get_click</code><span class="sig-paren">(</span><em class="property">const</em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>obj</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv416lv_obj_get_clickPK8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Get the click enable attribute of an object <dl class="simple">
<dt><strong>Return</strong></dt><dd><p>true: the object is clickable </p>
</dd>
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">obj</span></code>: pointer to an object </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv414lv_obj_get_topPK8lv_obj_t">
<span id="_CPPv314lv_obj_get_topPK8lv_obj_t"></span><span id="_CPPv214lv_obj_get_topPK8lv_obj_t"></span><span id="lv_obj_get_top__lv_obj_tCP"></span><span class="target" id="lv__obj_8h_1a54ef4ef13845592fb69222f56e8858d2"></span>bool <code class="sig-name descname">lv_obj_get_top</code><span class="sig-paren">(</span><em class="property">const</em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>obj</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv414lv_obj_get_topPK8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Get the top enable attribute of an object <dl class="simple">
<dt><strong>Return</strong></dt><dd><p>true: the auto top feature is enabled </p>
</dd>
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">obj</span></code>: pointer to an object </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv415lv_obj_get_dragPK8lv_obj_t">
<span id="_CPPv315lv_obj_get_dragPK8lv_obj_t"></span><span id="_CPPv215lv_obj_get_dragPK8lv_obj_t"></span><span id="lv_obj_get_drag__lv_obj_tCP"></span><span class="target" id="lv__obj_8h_1a1d3e216562fa5dc093cf1f368566470b"></span>bool <code class="sig-name descname">lv_obj_get_drag</code><span class="sig-paren">(</span><em class="property">const</em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>obj</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv415lv_obj_get_dragPK8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Get the drag enable attribute of an object <dl class="simple">
<dt><strong>Return</strong></dt><dd><p>true: the object is dragable </p>
</dd>
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">obj</span></code>: pointer to an object </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv419lv_obj_get_drag_dirPK8lv_obj_t">
<span id="_CPPv319lv_obj_get_drag_dirPK8lv_obj_t"></span><span id="_CPPv219lv_obj_get_drag_dirPK8lv_obj_t"></span><span id="lv_obj_get_drag_dir__lv_obj_tCP"></span><span class="target" id="lv__obj_8h_1ad507f3af94d2c37f106771e4fefaaec9"></span><a class="reference internal" href="#_CPPv413lv_drag_dir_t" title="lv_drag_dir_t">lv_drag_dir_t</a> <code class="sig-name descname">lv_obj_get_drag_dir</code><span class="sig-paren">(</span><em class="property">const</em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>obj</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv419lv_obj_get_drag_dirPK8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Get the directions an object can be dragged <dl class="simple">
<dt><strong>Return</strong></dt><dd><p>bitwise OR of allowed directions an object can be dragged in </p>
</dd>
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">obj</span></code>: pointer to an object </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv421lv_obj_get_drag_throwPK8lv_obj_t">
<span id="_CPPv321lv_obj_get_drag_throwPK8lv_obj_t"></span><span id="_CPPv221lv_obj_get_drag_throwPK8lv_obj_t"></span><span id="lv_obj_get_drag_throw__lv_obj_tCP"></span><span class="target" id="lv__obj_8h_1a4de8f7bdc9e2333299a04eba46f979c2"></span>bool <code class="sig-name descname">lv_obj_get_drag_throw</code><span class="sig-paren">(</span><em class="property">const</em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>obj</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv421lv_obj_get_drag_throwPK8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Get the drag throw enable attribute of an object <dl class="simple">
<dt><strong>Return</strong></dt><dd><p>true: drag throw is enabled </p>
</dd>
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">obj</span></code>: pointer to an object </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv422lv_obj_get_drag_parentPK8lv_obj_t">
<span id="_CPPv322lv_obj_get_drag_parentPK8lv_obj_t"></span><span id="_CPPv222lv_obj_get_drag_parentPK8lv_obj_t"></span><span id="lv_obj_get_drag_parent__lv_obj_tCP"></span><span class="target" id="lv__obj_8h_1adc034fe8bd3e032c3eb2b656d62e7474"></span>bool <code class="sig-name descname">lv_obj_get_drag_parent</code><span class="sig-paren">(</span><em class="property">const</em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>obj</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv422lv_obj_get_drag_parentPK8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Get the drag parent attribute of an object <dl class="simple">
<dt><strong>Return</strong></dt><dd><p>true: drag parent is enabled </p>
</dd>
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">obj</span></code>: pointer to an object </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv423lv_obj_get_parent_eventPK8lv_obj_t">
<span id="_CPPv323lv_obj_get_parent_eventPK8lv_obj_t"></span><span id="_CPPv223lv_obj_get_parent_eventPK8lv_obj_t"></span><span id="lv_obj_get_parent_event__lv_obj_tCP"></span><span class="target" id="lv__obj_8h_1a49fd592a6955f91dffeb416b13d6bc67"></span>bool <code class="sig-name descname">lv_obj_get_parent_event</code><span class="sig-paren">(</span><em class="property">const</em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>obj</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv423lv_obj_get_parent_eventPK8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Get the drag parent attribute of an object <dl class="simple">
<dt><strong>Return</strong></dt><dd><p>true: drag parent is enabled </p>
</dd>
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">obj</span></code>: pointer to an object </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv419lv_obj_get_base_dirPK8lv_obj_t">
<span id="_CPPv319lv_obj_get_base_dirPK8lv_obj_t"></span><span id="_CPPv219lv_obj_get_base_dirPK8lv_obj_t"></span><span id="lv_obj_get_base_dir__lv_obj_tCP"></span><span class="target" id="lv__obj_8h_1a3eaa434ba7a1d50bac6685a3ebac0558"></span>lv_bidi_dir_t <code class="sig-name descname">lv_obj_get_base_dir</code><span class="sig-paren">(</span><em class="property">const</em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>obj</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv419lv_obj_get_base_dirPK8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp function">
<dt id="_CPPv427lv_obj_get_opa_scale_enablePK8lv_obj_t">
<span id="_CPPv327lv_obj_get_opa_scale_enablePK8lv_obj_t"></span><span id="_CPPv227lv_obj_get_opa_scale_enablePK8lv_obj_t"></span><span id="lv_obj_get_opa_scale_enable__lv_obj_tCP"></span><span class="target" id="lv__obj_8h_1ad98aa79e5e4711dca417b08698db8acd"></span><a class="reference internal" href="../overview/display.html#_CPPv48lv_opa_t" title="lv_opa_t">lv_opa_t</a> <code class="sig-name descname">lv_obj_get_opa_scale_enable</code><span class="sig-paren">(</span><em class="property">const</em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>obj</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv427lv_obj_get_opa_scale_enablePK8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Get the opa scale enable parameter <dl class="simple">
<dt><strong>Return</strong></dt><dd><p>true: opa scaling is enabled for this object and all children; false: no opa scaling </p>
</dd>
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">obj</span></code>: pointer to an object </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv420lv_obj_get_opa_scalePK8lv_obj_t">
<span id="_CPPv320lv_obj_get_opa_scalePK8lv_obj_t"></span><span id="_CPPv220lv_obj_get_opa_scalePK8lv_obj_t"></span><span id="lv_obj_get_opa_scale__lv_obj_tCP"></span><span class="target" id="lv__obj_8h_1adf69567824f68f18e280f41d891bd785"></span><a class="reference internal" href="../overview/display.html#_CPPv48lv_opa_t" title="lv_opa_t">lv_opa_t</a> <code class="sig-name descname">lv_obj_get_opa_scale</code><span class="sig-paren">(</span><em class="property">const</em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>obj</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv420lv_obj_get_opa_scalePK8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Get the opa scale parameter of an object <dl class="simple">
<dt><strong>Return</strong></dt><dd><p>opa scale [0..255] </p>
</dd>
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">obj</span></code>: pointer to an object </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv418lv_obj_get_protectPK8lv_obj_t">
<span id="_CPPv318lv_obj_get_protectPK8lv_obj_t"></span><span id="_CPPv218lv_obj_get_protectPK8lv_obj_t"></span><span id="lv_obj_get_protect__lv_obj_tCP"></span><span class="target" id="lv__obj_8h_1abca39a2aa901c928a3086778dc40ba31"></span>uint8_t <code class="sig-name descname">lv_obj_get_protect</code><span class="sig-paren">(</span><em class="property">const</em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>obj</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv418lv_obj_get_protectPK8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Get the protect field of an object <dl class="simple">
<dt><strong>Return</strong></dt><dd><p>protect field (‘OR’ed values of <code class="docutils literal notranslate"><span class="pre">lv_protect_t</span></code>) </p>
</dd>
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">obj</span></code>: pointer to an object </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv419lv_obj_is_protectedPK8lv_obj_t7uint8_t">
<span id="_CPPv319lv_obj_is_protectedPK8lv_obj_t7uint8_t"></span><span id="_CPPv219lv_obj_is_protectedPK8lv_obj_t7uint8_t"></span><span id="lv_obj_is_protected__lv_obj_tCP.uint8_t"></span><span class="target" id="lv__obj_8h_1a80d6394bba9e1a414e797efd261ed02f"></span>bool <code class="sig-name descname">lv_obj_is_protected</code><span class="sig-paren">(</span><em class="property">const</em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>obj</em>, uint8_t <em>prot</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv419lv_obj_is_protectedPK8lv_obj_t7uint8_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Check at least one bit of a given protect bitfield is set <dl class="simple">
<dt><strong>Return</strong></dt><dd><p>false: none of the given bits are set, true: at least one bit is set </p>
</dd>
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">obj</span></code>: pointer to an object </p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">prot</span></code>: protect bits to test (‘OR’ed values of <code class="docutils literal notranslate"><span class="pre">lv_protect_t</span></code>) </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv420lv_obj_get_signal_cbPK8lv_obj_t">
<span id="_CPPv320lv_obj_get_signal_cbPK8lv_obj_t"></span><span id="_CPPv220lv_obj_get_signal_cbPK8lv_obj_t"></span><span id="lv_obj_get_signal_cb__lv_obj_tCP"></span><span class="target" id="lv__obj_8h_1ad1b1dc4d61fd765cfd8958254af36b29"></span><a class="reference internal" href="#_CPPv414lv_signal_cb_t" title="lv_signal_cb_t">lv_signal_cb_t</a> <code class="sig-name descname">lv_obj_get_signal_cb</code><span class="sig-paren">(</span><em class="property">const</em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>obj</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv420lv_obj_get_signal_cbPK8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Get the signal function of an object <dl class="simple">
<dt><strong>Return</strong></dt><dd><p>the signal function </p>
</dd>
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">obj</span></code>: pointer to an object </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv420lv_obj_get_design_cbPK8lv_obj_t">
<span id="_CPPv320lv_obj_get_design_cbPK8lv_obj_t"></span><span id="_CPPv220lv_obj_get_design_cbPK8lv_obj_t"></span><span id="lv_obj_get_design_cb__lv_obj_tCP"></span><span class="target" id="lv__obj_8h_1a5bafa0af4ab8c37e722cb8c65da04131"></span><a class="reference internal" href="#_CPPv414lv_design_cb_t" title="lv_design_cb_t">lv_design_cb_t</a> <code class="sig-name descname">lv_obj_get_design_cb</code><span class="sig-paren">(</span><em class="property">const</em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>obj</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv420lv_obj_get_design_cbPK8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Get the design function of an object <dl class="simple">
<dt><strong>Return</strong></dt><dd><p>the design function </p>
</dd>
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">obj</span></code>: pointer to an object </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv419lv_obj_get_event_cbPK8lv_obj_t">
<span id="_CPPv319lv_obj_get_event_cbPK8lv_obj_t"></span><span id="_CPPv219lv_obj_get_event_cbPK8lv_obj_t"></span><span id="lv_obj_get_event_cb__lv_obj_tCP"></span><span class="target" id="lv__obj_8h_1ae9f75ecad464d80305bf6b4064ba23f7"></span><a class="reference internal" href="#_CPPv413lv_event_cb_t" title="lv_event_cb_t">lv_event_cb_t</a> <code class="sig-name descname">lv_obj_get_event_cb</code><span class="sig-paren">(</span><em class="property">const</em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>obj</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv419lv_obj_get_event_cbPK8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Get the event function of an object <dl class="simple">
<dt><strong>Return</strong></dt><dd><p>the event function </p>
</dd>
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">obj</span></code>: pointer to an object </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv419lv_obj_get_ext_attrPK8lv_obj_t">
<span id="_CPPv319lv_obj_get_ext_attrPK8lv_obj_t"></span><span id="_CPPv219lv_obj_get_ext_attrPK8lv_obj_t"></span><span id="lv_obj_get_ext_attr__lv_obj_tCP"></span><span class="target" id="lv__obj_8h_1a0c06278b59453b3bfa04bd63981bca3b"></span>void *<code class="sig-name descname">lv_obj_get_ext_attr</code><span class="sig-paren">(</span><em class="property">const</em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>obj</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv419lv_obj_get_ext_attrPK8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Get the ext pointer <dl class="simple">
<dt><strong>Return</strong></dt><dd><p>the ext pointer but not the dynamic version Use it as ext-&gt;data1, and NOT da(ext)-&gt;data1 </p>
</dd>
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">obj</span></code>: pointer to an object </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv415lv_obj_get_typePK8lv_obj_tP13lv_obj_type_t">
<span id="_CPPv315lv_obj_get_typePK8lv_obj_tP13lv_obj_type_t"></span><span id="_CPPv215lv_obj_get_typePK8lv_obj_tP13lv_obj_type_t"></span><span id="lv_obj_get_type__lv_obj_tCP.lv_obj_type_tP"></span><span class="target" id="lv__obj_8h_1af939d1c447779b6f93bbdcf5a673ec69"></span>void <code class="sig-name descname">lv_obj_get_type</code><span class="sig-paren">(</span><em class="property">const</em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>obj</em>, <a class="reference internal" href="#_CPPv413lv_obj_type_t" title="lv_obj_type_t">lv_obj_type_t</a> *<em>buf</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv415lv_obj_get_typePK8lv_obj_tP13lv_obj_type_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Get object’s and its ancestors type. Put their name in <code class="docutils literal notranslate"><span class="pre">type_buf</span></code> starting with the current type. E.g. buf.type[0]=”lv_btn”, buf.type[1]=”lv_cont”, buf.type[2]=”lv_obj” <dl class="simple">
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">obj</span></code>: pointer to an object which type should be get </p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">buf</span></code>: pointer to an <code class="docutils literal notranslate"><a class="reference internal" href="#structlv__obj__type__t"><span class="std std-ref"><span class="pre">lv_obj_type_t</span></span></a></code> buffer to store the types </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv420lv_obj_get_user_dataPK8lv_obj_t">
<span id="_CPPv320lv_obj_get_user_dataPK8lv_obj_t"></span><span id="_CPPv220lv_obj_get_user_dataPK8lv_obj_t"></span><span id="lv_obj_get_user_data__lv_obj_tCP"></span><span class="target" id="lv__obj_8h_1a0861c9a603fa9208934ed98314f793f4"></span>lv_obj_user_data_t <code class="sig-name descname">lv_obj_get_user_data</code><span class="sig-paren">(</span><em class="property">const</em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>obj</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv420lv_obj_get_user_dataPK8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Get the object’s user data <dl class="simple">
<dt><strong>Return</strong></dt><dd><p>user data </p>
</dd>
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">obj</span></code>: pointer to an object </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv424lv_obj_get_user_data_ptrPK8lv_obj_t">
<span id="_CPPv324lv_obj_get_user_data_ptrPK8lv_obj_t"></span><span id="_CPPv224lv_obj_get_user_data_ptrPK8lv_obj_t"></span><span id="lv_obj_get_user_data_ptr__lv_obj_tCP"></span><span class="target" id="lv__obj_8h_1a21984ea47aedf381a471e02251870cd3"></span>lv_obj_user_data_t *<code class="sig-name descname">lv_obj_get_user_data_ptr</code><span class="sig-paren">(</span><em class="property">const</em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>obj</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv424lv_obj_get_user_data_ptrPK8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Get a pointer to the object’s user data <dl class="simple">
<dt><strong>Return</strong></dt><dd><p>pointer to the user data </p>
</dd>
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">obj</span></code>: pointer to an object </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv420lv_obj_set_user_dataP8lv_obj_t18lv_obj_user_data_t">
<span id="_CPPv320lv_obj_set_user_dataP8lv_obj_t18lv_obj_user_data_t"></span><span id="_CPPv220lv_obj_set_user_dataP8lv_obj_t18lv_obj_user_data_t"></span><span id="lv_obj_set_user_data__lv_obj_tP.lv_obj_user_data_t"></span><span class="target" id="lv__obj_8h_1a36065b16e9a7fa27ba0b7c08b9f4229f"></span>void <code class="sig-name descname">lv_obj_set_user_data</code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>obj</em>, lv_obj_user_data_t <em>data</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv420lv_obj_set_user_dataP8lv_obj_t18lv_obj_user_data_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Set the object’s user data. The data will be copied. <dl class="simple">
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">obj</span></code>: pointer to an object </p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">data</span></code>: user data </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv416lv_obj_get_groupPK8lv_obj_t">
<span id="_CPPv316lv_obj_get_groupPK8lv_obj_t"></span><span id="_CPPv216lv_obj_get_groupPK8lv_obj_t"></span><span id="lv_obj_get_group__lv_obj_tCP"></span><span class="target" id="lv__obj_8h_1a4096ec8a90cb787d671867b9bd43dc73"></span>void *<code class="sig-name descname">lv_obj_get_group</code><span class="sig-paren">(</span><em class="property">const</em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>obj</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv416lv_obj_get_groupPK8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Get the group of the object <dl class="simple">
<dt><strong>Return</strong></dt><dd><p>the pointer to group of the object </p>
</dd>
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">obj</span></code>: pointer to an object </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv417lv_obj_is_focusedPK8lv_obj_t">
<span id="_CPPv317lv_obj_is_focusedPK8lv_obj_t"></span><span id="_CPPv217lv_obj_is_focusedPK8lv_obj_t"></span><span id="lv_obj_is_focused__lv_obj_tCP"></span><span class="target" id="lv__obj_8h_1ae407987ad633021bd9119141b6506e1e"></span>bool <code class="sig-name descname">lv_obj_is_focused</code><span class="sig-paren">(</span><em class="property">const</em> <a class="reference internal" href="#_CPPv48lv_obj_t" title="lv_obj_t">lv_obj_t</a> *<em>obj</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv417lv_obj_is_focusedPK8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Tell whether the object is the focused object of a group or not. <dl class="simple">
<dt><strong>Return</strong></dt><dd><p>true: the object is focused, false: the object is not focused or not in a group </p>
</dd>
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">obj</span></code>: pointer to an object </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv429lv_obj_handle_get_type_signalP13lv_obj_type_tPKc">
<span id="_CPPv329lv_obj_handle_get_type_signalP13lv_obj_type_tPKc"></span><span id="_CPPv229lv_obj_handle_get_type_signalP13lv_obj_type_tPKc"></span><span id="lv_obj_handle_get_type_signal__lv_obj_type_tP.cCP"></span><span class="target" id="lv__obj_8h_1a9ca5805e173f2d33bc0fecc6f9920efa"></span>lv_res_t <code class="sig-name descname">lv_obj_handle_get_type_signal</code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv413lv_obj_type_t" title="lv_obj_type_t">lv_obj_type_t</a> *<em>buf</em>, <em class="property">const</em> char *<em>name</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv429lv_obj_handle_get_type_signalP13lv_obj_type_tPKc" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Used in the signal callback to handle <code class="docutils literal notranslate"><span class="pre">LV_SIGNAL_GET_TYPE</span></code> signal <dl class="simple">
<dt><strong>Return</strong></dt><dd><p>LV_RES_OK </p>
</dd>
<dt><strong>Parameters</strong></dt><dd><ul class="breatheparameterlist simple">
<li><p><code class="docutils literal notranslate"><span class="pre">buf</span></code>: pointer to <code class="docutils literal notranslate"><a class="reference internal" href="#structlv__obj__type__t"><span class="std std-ref"><span class="pre">lv_obj_type_t</span></span></a></code>. (<code class="docutils literal notranslate"><span class="pre">param</span></code> in the signal callback) </p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">name</span></code>: name of the object. E.g. “lv_btn”. (Only the pointer is saved) </p></li>
</ul>
</dd>
</dl>
</p>
</dd></dl>

</div>
<dl class="cpp struct">
<dt id="_CPPv412lv_reailgn_t">
<span id="_CPPv312lv_reailgn_t"></span><span id="_CPPv212lv_reailgn_t"></span><span id="lv_reailgn_t"></span><span class="target" id="structlv__reailgn__t"></span><em class="property">struct </em><code class="sig-name descname">lv_reailgn_t</code><a class="headerlink" href="#_CPPv412lv_reailgn_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Members</p>
<dl class="cpp var">
<dt id="_CPPv4N12lv_reailgn_t4baseE">
<span id="_CPPv3N12lv_reailgn_t4baseE"></span><span id="_CPPv2N12lv_reailgn_t4baseE"></span><span id="lv_reailgn_t::base___lv_obj_tCP"></span><span class="target" id="structlv__reailgn__t_1a5ddfb68df179ce54b504b02f7b9b6400"></span><em class="property">const</em> <em class="property">struct</em> <a class="reference internal" href="#_CPPv49_lv_obj_t" title="_lv_obj_t">_lv_obj_t</a> *<code class="sig-name descname">base</code><a class="headerlink" href="#_CPPv4N12lv_reailgn_t4baseE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N12lv_reailgn_t4xofsE">
<span id="_CPPv3N12lv_reailgn_t4xofsE"></span><span id="_CPPv2N12lv_reailgn_t4xofsE"></span><span id="lv_reailgn_t::xofs__lv_coord_t"></span><span class="target" id="structlv__reailgn__t_1a8d32a1353539e1b41c4b8e2c7cd18220"></span>lv_coord_t <code class="sig-name descname">xofs</code><a class="headerlink" href="#_CPPv4N12lv_reailgn_t4xofsE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N12lv_reailgn_t4yofsE">
<span id="_CPPv3N12lv_reailgn_t4yofsE"></span><span id="_CPPv2N12lv_reailgn_t4yofsE"></span><span id="lv_reailgn_t::yofs__lv_coord_t"></span><span class="target" id="structlv__reailgn__t_1a6cf93a8e9f8d8bb686c197215d704586"></span>lv_coord_t <code class="sig-name descname">yofs</code><a class="headerlink" href="#_CPPv4N12lv_reailgn_t4yofsE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N12lv_reailgn_t5alignE">
<span id="_CPPv3N12lv_reailgn_t5alignE"></span><span id="_CPPv2N12lv_reailgn_t5alignE"></span><span id="lv_reailgn_t::align__lv_align_t"></span><span class="target" id="structlv__reailgn__t_1a5b9014cb9c624f67a176216d4209b1e3"></span><a class="reference internal" href="#_CPPv410lv_align_t" title="lv_align_t">lv_align_t</a> <code class="sig-name descname">align</code><a class="headerlink" href="#_CPPv4N12lv_reailgn_t5alignE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N12lv_reailgn_t12auto_realignE">
<span id="_CPPv3N12lv_reailgn_t12auto_realignE"></span><span id="_CPPv2N12lv_reailgn_t12auto_realignE"></span><span id="lv_reailgn_t::auto_realign__uint8_t"></span><span class="target" id="structlv__reailgn__t_1a7504288230fd36251e4b11bda1c16c40"></span>uint8_t <code class="sig-name descname">auto_realign</code><a class="headerlink" href="#_CPPv4N12lv_reailgn_t12auto_realignE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N12lv_reailgn_t11origo_alignE">
<span id="_CPPv3N12lv_reailgn_t11origo_alignE"></span><span id="_CPPv2N12lv_reailgn_t11origo_alignE"></span><span id="lv_reailgn_t::origo_align__uint8_t"></span><span class="target" id="structlv__reailgn__t_1aec997c69336183eaa83dc36dd6874eb8"></span>uint8_t <code class="sig-name descname">origo_align</code><a class="headerlink" href="#_CPPv4N12lv_reailgn_t11origo_alignE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>1: the origo (center of the object) was aligned with <code class="docutils literal notranslate"><span class="pre">lv_obj_align_origo</span></code> </p>
</dd></dl>

</div>
</dd></dl>

<dl class="cpp struct">
<dt id="_CPPv49_lv_obj_t">
<span id="_CPPv39_lv_obj_t"></span><span id="_CPPv29_lv_obj_t"></span><span id="_lv_obj_t"></span><span class="target" id="struct__lv__obj__t"></span><em class="property">struct </em><code class="sig-name descname">_lv_obj_t</code><a class="headerlink" href="#_CPPv49_lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Members</p>
<dl class="cpp var">
<dt id="_CPPv4N9_lv_obj_t3parE">
<span id="_CPPv3N9_lv_obj_t3parE"></span><span id="_CPPv2N9_lv_obj_t3parE"></span><span id="_lv_obj_t::par___lv_obj_tP"></span><span class="target" id="struct__lv__obj__t_1a554ebe722d56f60c92e36a45aee45e9a"></span><em class="property">struct</em> <a class="reference internal" href="#_CPPv49_lv_obj_t" title="_lv_obj_t">_lv_obj_t</a> *<code class="sig-name descname">par</code><a class="headerlink" href="#_CPPv4N9_lv_obj_t3parE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Pointer to the parent object </p>
</dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N9_lv_obj_t8child_llE">
<span id="_CPPv3N9_lv_obj_t8child_llE"></span><span id="_CPPv2N9_lv_obj_t8child_llE"></span><span id="_lv_obj_t::child_ll__lv_ll_t"></span><span class="target" id="struct__lv__obj__t_1ad6b65cb2303495c9a2dec63def0fd185"></span>lv_ll_t <code class="sig-name descname">child_ll</code><a class="headerlink" href="#_CPPv4N9_lv_obj_t8child_llE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Linked list to store the children objects </p>
</dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N9_lv_obj_t6coordsE">
<span id="_CPPv3N9_lv_obj_t6coordsE"></span><span id="_CPPv2N9_lv_obj_t6coordsE"></span><span id="_lv_obj_t::coords__lv_area_t"></span><span class="target" id="struct__lv__obj__t_1a5159a54e860e2efa245ccd12f1f26253"></span>lv_area_t <code class="sig-name descname">coords</code><a class="headerlink" href="#_CPPv4N9_lv_obj_t6coordsE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Coordinates of the object (x1, y1, x2, y2) </p>
</dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N9_lv_obj_t8event_cbE">
<span id="_CPPv3N9_lv_obj_t8event_cbE"></span><span id="_CPPv2N9_lv_obj_t8event_cbE"></span><span id="_lv_obj_t::event_cb__lv_event_cb_t"></span><span class="target" id="struct__lv__obj__t_1a057a6a109fa1407369d1b30a4fb37479"></span><a class="reference internal" href="#_CPPv413lv_event_cb_t" title="lv_event_cb_t">lv_event_cb_t</a> <code class="sig-name descname">event_cb</code><a class="headerlink" href="#_CPPv4N9_lv_obj_t8event_cbE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Event callback function </p>
</dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N9_lv_obj_t9signal_cbE">
<span id="_CPPv3N9_lv_obj_t9signal_cbE"></span><span id="_CPPv2N9_lv_obj_t9signal_cbE"></span><span id="_lv_obj_t::signal_cb__lv_signal_cb_t"></span><span class="target" id="struct__lv__obj__t_1a4b8533e33052e0c5531a82882d0da39e"></span><a class="reference internal" href="#_CPPv414lv_signal_cb_t" title="lv_signal_cb_t">lv_signal_cb_t</a> <code class="sig-name descname">signal_cb</code><a class="headerlink" href="#_CPPv4N9_lv_obj_t9signal_cbE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Object type specific signal function </p>
</dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N9_lv_obj_t9design_cbE">
<span id="_CPPv3N9_lv_obj_t9design_cbE"></span><span id="_CPPv2N9_lv_obj_t9design_cbE"></span><span id="_lv_obj_t::design_cb__lv_design_cb_t"></span><span class="target" id="struct__lv__obj__t_1ad6d6cab3f5c316c040583b987d4dafae"></span><a class="reference internal" href="#_CPPv414lv_design_cb_t" title="lv_design_cb_t">lv_design_cb_t</a> <code class="sig-name descname">design_cb</code><a class="headerlink" href="#_CPPv4N9_lv_obj_t9design_cbE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Object type specific design function </p>
</dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N9_lv_obj_t8ext_attrE">
<span id="_CPPv3N9_lv_obj_t8ext_attrE"></span><span id="_CPPv2N9_lv_obj_t8ext_attrE"></span><span id="_lv_obj_t::ext_attr__voidP"></span><span class="target" id="struct__lv__obj__t_1a18b5c5372f83cb8640acf0c1d2beb7b9"></span>void *<code class="sig-name descname">ext_attr</code><a class="headerlink" href="#_CPPv4N9_lv_obj_t8ext_attrE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Object type specific extended data </p>
</dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N9_lv_obj_t7style_pE">
<span id="_CPPv3N9_lv_obj_t7style_pE"></span><span id="_CPPv2N9_lv_obj_t7style_pE"></span><span id="_lv_obj_t::style_p__lv_style_tCP"></span><span class="target" id="struct__lv__obj__t_1ad91dc28150dd21dc5e4dbb163d54220d"></span><em class="property">const</em> lv_style_t *<code class="sig-name descname">style_p</code><a class="headerlink" href="#_CPPv4N9_lv_obj_t7style_pE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Pointer to the object’s style </p>
</dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N9_lv_obj_t7group_pE">
<span id="_CPPv3N9_lv_obj_t7group_pE"></span><span id="_CPPv2N9_lv_obj_t7group_pE"></span><span id="_lv_obj_t::group_p__voidP"></span><span class="target" id="struct__lv__obj__t_1a02e04f276df188faa28e6e0ec0f7da53"></span>void *<code class="sig-name descname">group_p</code><a class="headerlink" href="#_CPPv4N9_lv_obj_t7group_pE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Pointer to the group of the object </p>
</dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N9_lv_obj_t17ext_click_pad_horE">
<span id="_CPPv3N9_lv_obj_t17ext_click_pad_horE"></span><span id="_CPPv2N9_lv_obj_t17ext_click_pad_horE"></span><span id="_lv_obj_t::ext_click_pad_hor__uint8_t"></span><span class="target" id="struct__lv__obj__t_1aad18a5c4b9280aa4aeeea668248a65c9"></span>uint8_t <code class="sig-name descname">ext_click_pad_hor</code><a class="headerlink" href="#_CPPv4N9_lv_obj_t17ext_click_pad_horE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Extra click padding in horizontal direction </p>
</dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N9_lv_obj_t17ext_click_pad_verE">
<span id="_CPPv3N9_lv_obj_t17ext_click_pad_verE"></span><span id="_CPPv2N9_lv_obj_t17ext_click_pad_verE"></span><span id="_lv_obj_t::ext_click_pad_ver__uint8_t"></span><span class="target" id="struct__lv__obj__t_1aa839ad055356234122bb99da277c798d"></span>uint8_t <code class="sig-name descname">ext_click_pad_ver</code><a class="headerlink" href="#_CPPv4N9_lv_obj_t17ext_click_pad_verE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Extra click padding in vertical direction </p>
</dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N9_lv_obj_t13ext_click_padE">
<span id="_CPPv3N9_lv_obj_t13ext_click_padE"></span><span id="_CPPv2N9_lv_obj_t13ext_click_padE"></span><span id="_lv_obj_t::ext_click_pad__lv_area_t"></span><span class="target" id="struct__lv__obj__t_1aa99bdb30fd8083e42592e442828fedc1"></span>lv_area_t <code class="sig-name descname">ext_click_pad</code><a class="headerlink" href="#_CPPv4N9_lv_obj_t13ext_click_padE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Extra click padding area. </p>
</dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N9_lv_obj_t5clickE">
<span id="_CPPv3N9_lv_obj_t5clickE"></span><span id="_CPPv2N9_lv_obj_t5clickE"></span><span id="_lv_obj_t::click__uint8_t"></span><span class="target" id="struct__lv__obj__t_1a5aff593ec2b2d1e1461a496569ce2e2c"></span>uint8_t <code class="sig-name descname">click</code><a class="headerlink" href="#_CPPv4N9_lv_obj_t5clickE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>1: Can be pressed by an input device </p>
</dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N9_lv_obj_t4dragE">
<span id="_CPPv3N9_lv_obj_t4dragE"></span><span id="_CPPv2N9_lv_obj_t4dragE"></span><span id="_lv_obj_t::drag__uint8_t"></span><span class="target" id="struct__lv__obj__t_1a37f3c5da535b993775a44f556e78aa9b"></span>uint8_t <code class="sig-name descname">drag</code><a class="headerlink" href="#_CPPv4N9_lv_obj_t4dragE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>1: Enable the dragging </p>
</dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N9_lv_obj_t10drag_throwE">
<span id="_CPPv3N9_lv_obj_t10drag_throwE"></span><span id="_CPPv2N9_lv_obj_t10drag_throwE"></span><span id="_lv_obj_t::drag_throw__uint8_t"></span><span class="target" id="struct__lv__obj__t_1af06a95de66e183335be8481ce4504500"></span>uint8_t <code class="sig-name descname">drag_throw</code><a class="headerlink" href="#_CPPv4N9_lv_obj_t10drag_throwE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>1: Enable throwing with drag </p>
</dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N9_lv_obj_t11drag_parentE">
<span id="_CPPv3N9_lv_obj_t11drag_parentE"></span><span id="_CPPv2N9_lv_obj_t11drag_parentE"></span><span id="_lv_obj_t::drag_parent__uint8_t"></span><span class="target" id="struct__lv__obj__t_1a57d344e11977aa356cc00fb2453c71d0"></span>uint8_t <code class="sig-name descname">drag_parent</code><a class="headerlink" href="#_CPPv4N9_lv_obj_t11drag_parentE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>1: Parent will be dragged instead </p>
</dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N9_lv_obj_t6hiddenE">
<span id="_CPPv3N9_lv_obj_t6hiddenE"></span><span id="_CPPv2N9_lv_obj_t6hiddenE"></span><span id="_lv_obj_t::hidden__uint8_t"></span><span class="target" id="struct__lv__obj__t_1a30ea1c215d3c9e72171d2f0bf367fe80"></span>uint8_t <code class="sig-name descname">hidden</code><a class="headerlink" href="#_CPPv4N9_lv_obj_t6hiddenE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>1: Object is hidden </p>
</dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N9_lv_obj_t3topE">
<span id="_CPPv3N9_lv_obj_t3topE"></span><span id="_CPPv2N9_lv_obj_t3topE"></span><span id="_lv_obj_t::top__uint8_t"></span><span class="target" id="struct__lv__obj__t_1af655d7f63d4713ee248868eb9cb995bd"></span>uint8_t <code class="sig-name descname">top</code><a class="headerlink" href="#_CPPv4N9_lv_obj_t3topE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>1: If the object or its children is clicked it goes to the foreground </p>
</dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N9_lv_obj_t12opa_scale_enE">
<span id="_CPPv3N9_lv_obj_t12opa_scale_enE"></span><span id="_CPPv2N9_lv_obj_t12opa_scale_enE"></span><span id="_lv_obj_t::opa_scale_en__uint8_t"></span><span class="target" id="struct__lv__obj__t_1af438e05108586354bcdf7161c0c45cb9"></span>uint8_t <code class="sig-name descname">opa_scale_en</code><a class="headerlink" href="#_CPPv4N9_lv_obj_t12opa_scale_enE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>1: opa_scale is set </p>
</dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N9_lv_obj_t12parent_eventE">
<span id="_CPPv3N9_lv_obj_t12parent_eventE"></span><span id="_CPPv2N9_lv_obj_t12parent_eventE"></span><span id="_lv_obj_t::parent_event__uint8_t"></span><span class="target" id="struct__lv__obj__t_1aad0be8113730050561e37f62ec34a74a"></span>uint8_t <code class="sig-name descname">parent_event</code><a class="headerlink" href="#_CPPv4N9_lv_obj_t12parent_eventE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>1: Send the object’s events to the parent too. </p>
</dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N9_lv_obj_t8drag_dirE">
<span id="_CPPv3N9_lv_obj_t8drag_dirE"></span><span id="_CPPv2N9_lv_obj_t8drag_dirE"></span><span id="_lv_obj_t::drag_dir__lv_drag_dir_t"></span><span class="target" id="struct__lv__obj__t_1a3ab46d1105c1a83eec453a7000a1e16c"></span><a class="reference internal" href="#_CPPv413lv_drag_dir_t" title="lv_drag_dir_t">lv_drag_dir_t</a> <code class="sig-name descname">drag_dir</code><a class="headerlink" href="#_CPPv4N9_lv_obj_t8drag_dirE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Which directions the object can be dragged in </p>
</dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N9_lv_obj_t8base_dirE">
<span id="_CPPv3N9_lv_obj_t8base_dirE"></span><span id="_CPPv2N9_lv_obj_t8base_dirE"></span><span id="_lv_obj_t::base_dir__lv_bidi_dir_t"></span><span class="target" id="struct__lv__obj__t_1aa89682f5fb368858c584c3f4b23c1c91"></span>lv_bidi_dir_t <code class="sig-name descname">base_dir</code><a class="headerlink" href="#_CPPv4N9_lv_obj_t8base_dirE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Base direction of texts related to this object </p>
</dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N9_lv_obj_t8reservedE">
<span id="_CPPv3N9_lv_obj_t8reservedE"></span><span id="_CPPv2N9_lv_obj_t8reservedE"></span><span id="_lv_obj_t::reserved__uint8_t"></span><span class="target" id="struct__lv__obj__t_1a98f692134136e4618ac4b1a9147245e6"></span>uint8_t <code class="sig-name descname">reserved</code><a class="headerlink" href="#_CPPv4N9_lv_obj_t8reservedE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Reserved for future use </p>
</dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N9_lv_obj_t7protectE">
<span id="_CPPv3N9_lv_obj_t7protectE"></span><span id="_CPPv2N9_lv_obj_t7protectE"></span><span id="_lv_obj_t::protect__uint8_t"></span><span class="target" id="struct__lv__obj__t_1a2b10cb57fa2632b1e89bf517f23e5c7e"></span>uint8_t <code class="sig-name descname">protect</code><a class="headerlink" href="#_CPPv4N9_lv_obj_t7protectE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Automatically happening actions can be prevented. ‘OR’ed values from <code class="docutils literal notranslate"><span class="pre">lv_protect_t</span></code> </p>
</dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N9_lv_obj_t9opa_scaleE">
<span id="_CPPv3N9_lv_obj_t9opa_scaleE"></span><span id="_CPPv2N9_lv_obj_t9opa_scaleE"></span><span id="_lv_obj_t::opa_scale__lv_opa_t"></span><span class="target" id="struct__lv__obj__t_1a7c8b44d96aa237f8c02e8bc50ecfe4ca"></span><a class="reference internal" href="../overview/display.html#_CPPv48lv_opa_t" title="lv_opa_t">lv_opa_t</a> <code class="sig-name descname">opa_scale</code><a class="headerlink" href="#_CPPv4N9_lv_obj_t9opa_scaleE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Scale down the opacity by this factor. Effects all children as well </p>
</dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N9_lv_obj_t12ext_draw_padE">
<span id="_CPPv3N9_lv_obj_t12ext_draw_padE"></span><span id="_CPPv2N9_lv_obj_t12ext_draw_padE"></span><span id="_lv_obj_t::ext_draw_pad__lv_coord_t"></span><span class="target" id="struct__lv__obj__t_1add6c3fbc963d6a3175ebf92ff6b760f8"></span>lv_coord_t <code class="sig-name descname">ext_draw_pad</code><a class="headerlink" href="#_CPPv4N9_lv_obj_t12ext_draw_padE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>EXTtend the size in every direction for drawing. </p>
</dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N9_lv_obj_t7realignE">
<span id="_CPPv3N9_lv_obj_t7realignE"></span><span id="_CPPv2N9_lv_obj_t7realignE"></span><span id="_lv_obj_t::realign__lv_reailgn_t"></span><span class="target" id="struct__lv__obj__t_1ac2c33039a463358281520faf1605133f"></span><a class="reference internal" href="#_CPPv412lv_reailgn_t" title="lv_reailgn_t">lv_reailgn_t</a> <code class="sig-name descname">realign</code><a class="headerlink" href="#_CPPv4N9_lv_obj_t7realignE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Information about the last call to <a class="reference internal" href="#lv__obj_8h_1a785867b8a3b3fdf90e885374b9f3c004"><span class="std std-ref">lv_obj_align</span></a>. </p>
</dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N9_lv_obj_t9user_dataE">
<span id="_CPPv3N9_lv_obj_t9user_dataE"></span><span id="_CPPv2N9_lv_obj_t9user_dataE"></span><span id="_lv_obj_t::user_data__lv_obj_user_data_t"></span><span class="target" id="struct__lv__obj__t_1ae51711ba68ca64125ed2d4eb7ec03a6d"></span>lv_obj_user_data_t <code class="sig-name descname">user_data</code><a class="headerlink" href="#_CPPv4N9_lv_obj_t9user_dataE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Custom user data for object. </p>
</dd></dl>

</div>
</dd></dl>

<dl class="cpp struct">
<dt id="_CPPv413lv_obj_type_t">
<span id="_CPPv313lv_obj_type_t"></span><span id="_CPPv213lv_obj_type_t"></span><span id="lv_obj_type_t"></span><span class="target" id="structlv__obj__type__t"></span><em class="property">struct </em><code class="sig-name descname">lv_obj_type_t</code><a class="headerlink" href="#_CPPv413lv_obj_type_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><em>#include &lt;lv_obj.h&gt;</em><p>Used by <code class="docutils literal notranslate"><a class="reference internal" href="#lv__obj_8h_1af939d1c447779b6f93bbdcf5a673ec69"><span class="std std-ref"><span class="pre">lv_obj_get_type()</span></span></a></code>. The object’s and its ancestor types are stored here </p>
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Members</p>
<dl class="cpp var">
<dt id="_CPPv4N13lv_obj_type_t4typeE">
<span id="_CPPv3N13lv_obj_type_t4typeE"></span><span id="_CPPv2N13lv_obj_type_t4typeE"></span><span id="lv_obj_type_t::type__cCPA"></span><span class="target" id="structlv__obj__type__t_1ae24e59ffdb8f2e285b26a743b03f1469"></span><em class="property">const</em> char *<code class="sig-name descname">type</code>[<code class="sig-name descname">LV_MAX_ANCESTOR_NUM</code>]<a class="headerlink" href="#_CPPv4N13lv_obj_type_t4typeE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>[0]: the actual type, [1]: ancestor, [2] #1’s ancestor … [x]: “lv_obj” </p>
</dd></dl>

</div>
</dd></dl>

</div>
</div>


           </div>
           
          </div>
          <footer>
  
    <div class="rst-footer-buttons" role="navigation" aria-label="footer navigation">
      
        <a href="arc.html" class="btn btn-neutral float-right" title="Arc (lv_arc)" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right"></span></a>
      
      
        <a href="index.html" class="btn btn-neutral float-left" title="Object types (Widgets)" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left"></span> Previous</a>
      
    </div>
  

  <hr/>

  <div role="contentinfo">
    <p>
        &copy; Copyright 2020, Gabor Kiss-Vamosi
      <span class="lastupdated">
        Last updated on Nov 21, 2020.
      </span>

    </p>
  </div>
  Built with <a href="http://sphinx-doc.org/">Sphinx</a> using a <a href="https://github.com/rtfd/sphinx_rtd_theme">theme</a> provided by <a href="https://readthedocs.org">Read the Docs</a>. 

</footer>

        </div>
      </div>

    </section>

  </div>
  


  <script type="text/javascript">
      jQuery(function () {
          SphinxRtdTheme.Navigation.enable(true);
      });
  </script>

  
  
    
  

 <script type="text/javascript">
    $(document).ready(function() {
        $(".toggle > *").hide();
        $(".toggle .header").show();
        $(".toggle .header").click(function() {
            $(this).parent().children().not(".header").toggle(400);
            $(this).parent().children(".header").toggleClass("open");
        })
    });
</script>


<script type="text/javascript" src="https://docs.lvgl.io/misc/common.js"></script>



</body>
</html>